mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
pci: move unregister from PCIDevice to PCIDeviceInfo
One more cleanup while being at it ;) Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
a36a344dcd
commit
e3936fa574
8 changed files with 13 additions and 11 deletions
|
@ -417,7 +417,6 @@ static void virtio_init_pci(VirtIOPCIProxy *proxy, VirtIODevice *vdev,
|
|||
msix_bar_size(&proxy->pci_dev),
|
||||
PCI_ADDRESS_SPACE_MEM,
|
||||
msix_mmio_map);
|
||||
proxy->pci_dev.unregister = msix_uninit;
|
||||
} else
|
||||
vdev->nvectors = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue