]> Git Repo - qemu.git/blobdiff - tests/ide-test.c
Merge remote-tracking branch 'remotes/dgilbert/tags/pull-migration-20180410a' into...
[qemu.git] / tests / ide-test.c
index be427e41d6d9c54ddca0dcb1e511a4c6d2b8976e..2384c2c3e2c2c68942f8f86b0fa11b12d2de0d8d 100644 (file)
@@ -132,7 +132,7 @@ static void ide_test_start(const char *cmdline_fmt, ...)
     va_end(ap);
 
     qtest_start(cmdline);
-    guest_malloc = pc_alloc_init();
+    guest_malloc = pc_alloc_init(global_qtest);
 
     g_free(cmdline);
 }
@@ -150,7 +150,7 @@ static QPCIDevice *get_pci_device(QPCIBar *bmdma_bar, QPCIBar *ide_bar)
     uint16_t vendor_id, device_id;
 
     if (!pcibus) {
-        pcibus = qpci_init_pc(NULL);
+        pcibus = qpci_init_pc(global_qtest, NULL);
     }
 
     /* Find PCI device and verify it's the right one */
This page took 0.02358 seconds and 4 git commands to generate.