]> Git Repo - qemu.git/blobdiff - tests/e1000e-test.c
Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging
[qemu.git] / tests / e1000e-test.c
index c612dc64ecff27e46c09830115a2014cd2769b4f..32aa738b72cc6ddf9924abc159f35e4b3ddba567 100644 (file)
@@ -392,12 +392,12 @@ static void data_test_init(e1000e_device *d)
     qtest_start(cmdline);
     g_free(cmdline);
 
-    test_bus = qpci_init_pc(NULL);
-    g_assert_nonnull(test_bus);
-
-    test_alloc = pc_alloc_init();
+    test_alloc = pc_alloc_init(global_qtest);
     g_assert_nonnull(test_alloc);
 
+    test_bus = qpci_init_pc(global_qtest, test_alloc);
+    g_assert_nonnull(test_bus);
+
     e1000e_device_init(test_bus, d);
 }
 
This page took 0.0216 seconds and 4 git commands to generate.