Migrating radix guests fails with the following error on the target
side:
qemu-system-ppc64: htab_load() bad index 2113929216 (5378+0 entries) in htab stream (htab_shift=0)
qemu-system-ppc64: error while loading state for instance 0x0 of device 'spapr/htab'
qemu-system-ppc64: load of migration failed: Invalid argument
Fix this by not registering htab savevm handler for radix case.
Patches apply against ppc-for-2.10 branch of dwg's tree.
Bharata B Rao (2):
spapr: Make h_register_process_table hcall flags global
spapr: Fix migration of Radix guests
hw/ppc/spapr.c | 18 +++++++++++++++---
hw/ppc/spapr_hcall.c | 36 +++++++++++++++++++-----------------
include/hw/ppc/spapr.h | 13 +++++++++++++
3 files changed, 47 insertions(+), 20 deletions(-)
--
2.7.4