Cole Robinson 04c7d8b8de Fix pc migration from qemu <= 1.5
The following commit introduced a migration incompatibility:

commit 568f0690fd9aa4d39d84b04c1a5dbb53a915c3fe
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
..
2013-11-05 18:06:51 +01:00
2013-06-07 14:55:33 +02:00
2013-04-29 08:27:47 -05:00
2013-07-29 21:06:28 +02:00
2013-11-10 12:08:37 +02:00
2013-07-29 21:06:27 +02:00
2013-11-05 17:47:30 +01:00
2013-11-05 19:57:46 -08:00
2013-11-05 17:47:29 +01:00
2013-08-28 10:16:47 +03:00
2013-06-27 15:38:35 -05:00
2013-05-01 20:55:21 +04:00
2013-04-16 10:04:23 +02:00