diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-09-25 21:42:38 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-05 09:32:48 -0500 |
commit | e3936fa574d9fbe241acdc76b5195b048567537e (patch) | |
tree | 51832bf75d2c7677e08e833ce71921cde22ccb9b /hw/virtio-pci.c | |
parent | a36a344dcd5c778cc0417df36c5aa8f95c5497c3 (diff) | |
download | qemu-e3936fa574d9fbe241acdc76b5195b048567537e.zip qemu-e3936fa574d9fbe241acdc76b5195b048567537e.tar.gz qemu-e3936fa574d9fbe241acdc76b5195b048567537e.tar.bz2 |
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>
Diffstat (limited to 'hw/virtio-pci.c')
-rw-r--r-- | hw/virtio-pci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c index bd5a7c4..c6fbaac 100644 --- a/hw/virtio-pci.c +++ b/hw/virtio-pci.c @@ -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; |