KVM guest: disable stealtime on reboot to avoid mem corruption
authorFlorian Westphal <fw@strlen.de>
Wed, 15 Aug 2012 14:00:40 +0000 (16:00 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 15 Aug 2012 18:31:24 +0000 (15:31 -0300)
commit8fbe6a541f50eeec5e3e49bd92db23ade9496673
tree53f9e664c37a4ce4aabd7d9025485307c97f8762
parent28a6fdabb3ea775d3d707afd9d2728b3ced2c34d
KVM guest: disable stealtime on reboot to avoid mem corruption

else, host continues to update stealtime after reboot,
which can corrupt e.g. initramfs area.
found when tracking down initramfs unpack error on initial reboot
(with qemu-kvm -smp 2, no problem with single-core).

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kernel/kvm.c