aboutsummaryrefslogtreecommitdiff
path: root/tests/e1000e-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/e1000e-test.c')
-rw-r--r--tests/e1000e-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/e1000e-test.c b/tests/e1000e-test.c
index 445787a7e4..93628c588d 100644
--- a/tests/e1000e-test.c
+++ b/tests/e1000e-test.c
@@ -235,7 +235,7 @@ static void test_e1000e_hotplug(void *obj, void *data, QGuestAllocator * alloc)
{
QTestState *qts = global_qtest; /* TODO: get rid of global_qtest here */
- qtest_qmp_device_add("e1000e", "e1000e_net", "{'addr': '0x06'}");
+ qtest_qmp_device_add(qts, "e1000e", "e1000e_net", "{'addr': '0x06'}");
qpci_unplug_acpi_device_test(qts, "e1000e_net", 0x06);
}