qemu-irix/hw/ppc
David Gibson 146c11f16f target-ppc: Allow eventual removal of old migration mistakes
Until very recently, the vmstate for ppc cpus included some poorly
thought out VMSTATE_EQUAL() components, that can easily break
migration compatibility, and did so between qemu-2.6 and later
versions.  A hack was recently added which fixes this migration
breakage, but it leaves the unhelpful cruft of these fields in the
migration stream.

This patch adds a new cpu property allowing these fields to be removed
from the stream entirely.  For the pseries-2.8 machine type - which
comes after the fix - and for all non-pseries machine types - which
aren't mature enough to care about cross-version migration - we remove
the fields from the stream.

For pseries-2.7 and earlier, The migration hack remains in place,
allowing backwards and forwards migration with the older machine
types.

This restricts the migration compatibility cruft to older machine
types, and at least opens the possibility of eventually deprecating
and removing it entirely.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2016-11-23 12:00:48 +11:00
..
Makefile.objs spapr_ovec: initial implementation of option vector helpers 2016-10-28 09:38:26 +11:00
e500-ccsr.h
e500.c
e500.h
e500plat.c
fdt.c
mac.h
mac_newworld.c fw_cfg: move FW_CFG_NB_CPUS out of fw_cfg_init1() 2016-11-16 12:09:58 -02:00
mac_oldworld.c fw_cfg: move FW_CFG_NB_CPUS out of fw_cfg_init1() 2016-11-16 12:09:58 -02:00
mpc8544_guts.c
mpc8544ds.c
pnv.c ppc/pnv: Fix fatal bug on 32-bit hosts 2016-11-15 10:08:43 +11:00
pnv_core.c ppc/pnv: fix compile breakage on old gcc 2016-11-15 10:05:51 +11:00
pnv_lpc.c ppc/pnv: fix compile breakage on old gcc 2016-11-15 10:05:51 +11:00
pnv_xscom.c ppc/pnv: fix xscom address translation for POWER9 2016-11-15 10:08:43 +11:00
ppc.c
ppc4xx_devs.c
ppc4xx_pci.c
ppc405.h
ppc405_boards.c clean-up: removed duplicate #includes 2016-10-28 18:17:24 +03:00
ppc405_uc.c
ppc440_bamboo.c
ppc_booke.c
ppce500_spin.c *_run_on_cpu: introduce run_on_cpu_data type 2016-10-31 15:00:25 +01:00
prep.c
spapr.c target-ppc: Allow eventual removal of old migration mistakes 2016-11-23 12:00:48 +11:00
spapr_cpu_core.c pseries: Split device tree construction from device tree load 2016-10-28 09:38:25 +11:00
spapr_drc.c spapr: Memory hot-unplug support 2016-10-28 11:17:35 +11:00
spapr_events.c spapr: Add DRC count indexed hotplug identifier type 2016-10-28 11:17:35 +11:00
spapr_hcall.c Base patches for MTTCG enablement. 2016-10-31 15:29:12 +00:00
spapr_iommu.c
spapr_ovec.c spapr: migration support for CAS-negotiated option vectors 2016-11-23 12:00:48 +11:00
spapr_pci.c spapr: Fix migration of PCI host bridges from qemu-2.7 2016-11-15 10:08:42 +11:00
spapr_pci_vfio.c
spapr_rng.c
spapr_rtas.c pseries: Consolidate construction of /rtas device tree node 2016-10-28 09:38:26 +11:00
spapr_rtas_ddw.c
spapr_rtc.c
spapr_vio.c pseries: Consolidate construction of /vdevice device tree node 2016-10-28 09:38:26 +11:00
trace-events
virtex_ml507.c