OSDN Git Service

spapr: Fix stale HTAB during live migration (KVM)
authorSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Mon, 17 Nov 2014 04:12:28 +0000 (15:12 +1100)
committerAlexander Graf <agraf@suse.de>
Wed, 7 Jan 2015 15:16:26 +0000 (16:16 +0100)
commit01a579729b2e614bd02b25c8504976eeecb64eff
treef5ce4284c32e0460ece5346ce914598e65f0ea3c
parente094c4c12f33a1c965f5af02f33968a337348739
spapr: Fix stale HTAB during live migration (KVM)

If a guest reboots during a running migration, changes to the
hash page table are not necessarily updated on the destination.
Opening a new file descriptor to the HTAB forces the migration
handler to resend the entire table.

Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr.c
include/hw/ppc/spapr.h