summary refs log tree commit diff stats
path: root/scripts/qapi/common.py
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2018-05-03 23:16:48 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2018-05-04 15:00:37 +1000
commitaef19c04bf88e0f5f936301e6c29b239e488fbc6 (patch)
treebe215373fde2ce12cfedadabe283c4bbb2c70d87 /scripts/qapi/common.py
parentbce009645b9f1d59195518e35747c8ea30f985f7 (diff)
downloadfocaccia-qemu-aef19c04bf88e0f5f936301e6c29b239e488fbc6.tar.gz
focaccia-qemu-aef19c04bf88e0f5f936301e6c29b239e488fbc6.zip
spapr: don't migrate "spapr_option_vector_ov5_cas" to pre 2.8 machines
a324d6f16697 "spapr: Support ibm,dynamic-memory-v2 property" added
a new feature in the set of CAS-negotiatable options. This causes
the CAS-negotiated options subsection to be migrated, even for old
machine types that don't know about it, and breaks backward migration
to QEMU 2.7 and older versions:

qemu-system-ppc64: error while loading state for instance 0x0 of device
 'spapr'
qemu-system-ppc64: load of migration failed: No such file or directory

Since this feature only affects boot time behaviour, it should be
filtered out when we decide to migrate CAS-negotiated options, like
we already do with OV5_FORM1_AFFINITY and OV5_DRCONF_MEMORY.

Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions