From 95d658002401e2e47a5404298ebe9508846e8a39 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Fri, 11 May 2012 11:42:40 -0300 Subject: 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 CC: Gerd Hoffmann CC: Isaku Yamahata Signed-off-by: Jan Kiszka Signed-off-by: Michael S. Tsirkin --- hw/ioh3420.c | 1 - 1 file changed, 1 deletion(-) (limited to 'hw/ioh3420.c') diff --git a/hw/ioh3420.c b/hw/ioh3420.c index d1499da4ac..0a2601cac4 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); -- cgit v1.2.3