aboutsummaryrefslogtreecommitdiff
path: root/hw/pci.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2009-10-05 23:02:20 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-06 14:36:13 -0500
commit0f457d91c41047f0f22c2e6965fbd154c5cd07d9 (patch)
tree6abcc67e2d64cb4d13ab31d9d03c8e9d67c45e1f /hw/pci.c
parent05fcfada5e45b900c32ca6bccf0ce52cb5422509 (diff)
qemu/pci: make pci not depend on msix
Making pci device cleanup msix automatically makes pci.c depend on msix.c, which is IMO messy. Since devices do msix_init it's easy and natural for them to also do msix_uninit. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pci.c')
-rw-r--r--hw/pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/pci.c b/hw/pci.c
index d63285a96a..1debdab4b4 100644
--- a/hw/pci.c
+++ b/hw/pci.c
@@ -26,7 +26,6 @@
#include "monitor.h"
#include "net.h"
#include "sysemu.h"
-#include "msix.h"
//#define DEBUG_PCI
#ifdef DEBUG_PCI
@@ -442,7 +441,6 @@ static int pci_unregister_device(DeviceState *dev)
if (ret)
return ret;
- msix_uninit(pci_dev);
pci_unregister_io_regions(pci_dev);
qemu_free_irqs(pci_dev->irq);