summaryrefslogtreecommitdiffstats
path: root/hw/ioh3420.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-05-11 11:42:40 -0300
committerMichael S. Tsirkin <mst@redhat.com>2012-06-07 17:19:00 +0300
commit95d658002401e2e47a5404298ebe9508846e8a39 (patch)
tree36826830f860f95a07f0f83b21c4cd7d8ee072c7 /hw/ioh3420.c
parent7c9958b04333a79a1fdb11583aca48a6df2edeb9 (diff)
downloadhqemu-95d658002401e2e47a5404298ebe9508846e8a39.zip
hqemu-95d658002401e2e47a5404298ebe9508846e8a39.tar.gz
msi: Invoke msi/msix_write_config from PCI core
Also this functions is better invoked by the core than by each and every device. This allows to drop the config_write callbacks from ich and intel-hda. 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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/ioh3420.c b/hw/ioh3420.c
index d1499da..0a2601c 100644
--- a/hw/ioh3420.c
+++ b/hw/ioh3420.c
@@ -71,7 +71,6 @@ static void ioh3420_write_config(PCIDevice *d,
pci_get_long(d->config + d->exp.aer_cap + PCI_ERR_ROOT_COMMAND);
pci_bridge_write_config(d, address, val, len);
- msi_write_config(d, address, val, len);
ioh3420_aer_vector_update(d);
pcie_cap_slot_write_config(d, address, val, len);
pcie_aer_write_config(d, address, val, len);
OpenPOWER on IntegriCloud