]> git.proxmox.com Git - mirror_qemu.git/commit - hw/ppc/spapr.c
spapr: Fix stale HTAB during live migration (TCG)
authorSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Mon, 17 Nov 2014 04:12:30 +0000 (15:12 +1100)
committerAlexander Graf <agraf@suse.de>
Wed, 7 Jan 2015 15:16:26 +0000 (16:16 +0100)
commite6b8fd246c19701b05f5b65a56b0cc91bbd05ac6
tree84bc9f8228c5edab17edc534e4fcf0fcc5c22077
parent338c25b6929b5436a42aaa106c7e9136cf1ff4dc
spapr: Fix stale HTAB during live migration (TCG)

If a TCG guest reboots during a running migration HTAB entries are not
marked dirty, and the destination boots with an invalid HTAB.

When a reboot occurs, explicitly mark the current HTAB dirty after
clearing it.

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