mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -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
|
@ -63,7 +63,7 @@ static QVirtIO9P *qvirtio_9p_pci_init(void)
|
|||
|
||||
v9p = g_new0(QVirtIO9P, 1);
|
||||
v9p->alloc = pc_alloc_init();
|
||||
v9p->bus = qpci_init_pc();
|
||||
v9p->bus = qpci_init_pc(NULL);
|
||||
|
||||
dev = qvirtio_pci_device_find(v9p->bus, VIRTIO_ID_9P);
|
||||
g_assert_nonnull(dev);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue