qemu-e2k/hw/pci-host
Cole Robinson 04c7d8b8de Fix pc migration from qemu <= 1.5
The following commit introduced a migration incompatibility:

commit 568f0690fd
Author: David Gibson <david@gibson.dropbear.id.au>
Date:   Thu Jun 6 18:48:49 2013 +1000

    pci: Replace pci_find_domain() with more general pci_root_bus_path()

The issue is that i440fx savevm idstr went from 0000:00:00.0/I440FX to
0000:00.0/I440FX. Unfortunately we are stuck with the breakage for
1.6 machine types.

Add a compat property to maintain the busted idstr for the 1.6 machine
types, but revert to the old style format for 1.7+, and <= 1.5.

Tested with migration from qemu 1.5, qemu 1.6, and qemu.git.

Cc: qemu-stable@nongnu.org
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2013-11-10 12:08:37 +02:00
..
apb.c pci-bridge: Turn PCIBridge into abstract QOM type 2013-07-29 20:44:47 +02:00
bonito.c mips_fulong2e: do not use isa_mmio 2013-07-25 08:12:27 -05:00
grackle.c hw/p*: pass owner to memory_region_init* functions 2013-07-04 17:42:48 +02:00
Makefile.objs dec.c - move to pci-bridge 2013-06-02 18:13:37 +03:00
pam.c pam: pass device to init_pam and use it to set owner 2013-07-04 17:42:47 +02:00
piix.c Fix pc migration from qemu <= 1.5 2013-11-10 12:08:37 +02:00
ppce500.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
prep.c qom: Pass available size to object_initialize() 2013-08-30 21:15:44 +02:00
q35.c Fix pc migration from qemu <= 1.5 2013-11-10 12:08:37 +02:00
uninorth.c hw/p*: pass owner to memory_region_init* functions 2013-07-04 17:42:48 +02:00
versatile.c qom: Pass available size to object_initialize() 2013-08-30 21:15:44 +02:00