diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-05-15 20:09:56 -0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2012-06-07 17:19:00 +0300 |
commit | cbd2d4342b3d42ab33baa99f5b7a23491b5692f2 (patch) | |
tree | 34edef8be5a550587e9bae0c27d835d35bad1919 /hw/ioh3420.c | |
parent | 520064c8b15504fb75babce7be6b5800b54ec490 (diff) |
msi: Invoke msi/msix_reset from PCI core
There is no point in pushing this burden to the devices, they tend to
forget to call them (like intel-hda, ahci, xhci did). Instead, reset
functions are now called from pci_device_reset. They do nothing if
MSI/MSI-X is not in use.
CC: Alexander Graf <agraf@suse.de>
CC: Gerd Hoffmann <kraxel@redhat.com>
CC: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/ioh3420.c')
-rw-r--r-- | hw/ioh3420.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ioh3420.c b/hw/ioh3420.c index 1632d31c19..d1499da4ac 100644 --- a/hw/ioh3420.c +++ b/hw/ioh3420.c @@ -81,7 +81,7 @@ static void ioh3420_write_config(PCIDevice *d, static void ioh3420_reset(DeviceState *qdev) { PCIDevice *d = PCI_DEVICE(qdev); - msi_reset(d); + ioh3420_aer_vector_update(d); pcie_cap_root_reset(d); pcie_cap_deverr_reset(d); |