diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-06-22 07:11:09 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-06-22 07:11:09 -0500 |
commit | fdba9594df8eb2e2ac16bba95308e4159ffbb9e4 (patch) | |
tree | ae99a704abd1629e8f0a2de427814ad48bc85197 /hw/msi.c | |
parent | 7ee28fd303003d70bb4c142e6ad4b92b7383b5b4 (diff) | |
parent | 0e6264db2c04dfad79be60240bfacfcaf47f9d6c (diff) |
Merge remote-tracking branch 'mst/for_anthony' into staging
Conflicts:
hw/usb-uhci.c
Diffstat (limited to 'hw/msi.c')
-rw-r--r-- | hw/msi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -172,7 +172,7 @@ void msi_uninit(struct PCIDevice *dev) } flags = pci_get_word(dev->config + msi_flags_off(dev)); cap_size = msi_cap_sizeof(flags); - pci_del_capability(dev, PCI_CAP_ID_MSIX, cap_size); + pci_del_capability(dev, PCI_CAP_ID_MSI, cap_size); dev->cap_present &= ~QEMU_PCI_CAP_MSI; MSI_DEV_PRINTF(dev, "uninit\n"); |