If a spapr guest reboots during a live migration, the guest HTAB on the destination is not updated properly, usually resulting in a kernel panic.
This is a (delayed!) follow up to my previous patch including a fix for TCG guests as well as KVM. Changes from V1: - Split out overflow fix into separate patch - Removed unnecessary locks (relevant operations occur under BQL) - TCG: Set HTAB dirty instead of resetting migration state - Minor style fixes Samuel Mendoza-Jonas (3): spapr: Fix stale HTAB during live migration (KVM) spapr: Fix integer overflow during migration (TCG) spapr: Fix stale HTAB during live migration (TCG) hw/ppc/spapr.c | 60 +++++++++++++++++++++++++++++++++++++++++++------- include/hw/ppc/spapr.h | 1 + 2 files changed, 53 insertions(+), 8 deletions(-) -- 1.9.3