mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
libqos: add PCI management in qtest_vboot()/qtest_shutdown()
Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: Greg Kurz <groug@kaod.org> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
cf716b31cb
commit
2ecd7e2f25
21 changed files with 46 additions and 25 deletions
|
@ -163,7 +163,7 @@ static void init_virtio_dev(TestServer *s)
|
|||
QVirtioPCIDevice *dev;
|
||||
uint32_t features;
|
||||
|
||||
bus = qpci_init_pc();
|
||||
bus = qpci_init_pc(NULL);
|
||||
g_assert_nonnull(bus);
|
||||
|
||||
dev = qvirtio_pci_device_find(bus, VIRTIO_ID_NET);
|
||||
|
@ -884,7 +884,7 @@ static void test_multiqueue(void)
|
|||
qtest_start(cmd);
|
||||
g_free(cmd);
|
||||
|
||||
bus = qpci_init_pc();
|
||||
bus = qpci_init_pc(NULL);
|
||||
dev = virtio_net_pci_init(bus, PCI_SLOT);
|
||||
|
||||
alloc = pc_alloc_init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue