diff options
author | Don Koch <dkoch@verizon.com> | 2013-07-09 11:40:02 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2013-07-10 12:49:26 +0300 |
commit | e78e9ae4a933504d383703870d491615b0261801 (patch) | |
tree | bc73e61c3d4c8bb506328a25128dd0d36ad159ee /include | |
parent | 7588e2b0559ae72d3c2952c7807fc05c03099970 (diff) | |
download | qemu-e78e9ae4a933504d383703870d491615b0261801.zip qemu-e78e9ae4a933504d383703870d491615b0261801.tar.gz qemu-e78e9ae4a933504d383703870d491615b0261801.tar.bz2 |
pci-bridge: update mappings for migration/restore
Fix for LP#1187529: Devices on PCI bridge stop working when
live-migrated. Update bridge mappings for all PCI bridge
devices in get_pci_config_device().
Signed-off-by: Don Koch <dkoch@verizon.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/pci/pci_bridge.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/pci/pci_bridge.h b/include/hw/pci/pci_bridge.h index 1868f7a..1d8f997 100644 --- a/include/hw/pci/pci_bridge.h +++ b/include/hw/pci/pci_bridge.h @@ -37,6 +37,7 @@ PCIBus *pci_bridge_get_sec_bus(PCIBridge *br); pcibus_t pci_bridge_get_base(const PCIDevice *bridge, uint8_t type); pcibus_t pci_bridge_get_limit(const PCIDevice *bridge, uint8_t type); +void pci_bridge_update_mappings(PCIBridge *br); void pci_bridge_write_config(PCIDevice *d, uint32_t address, uint32_t val, int len); void pci_bridge_disable_base_limit(PCIDevice *dev); |