summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-03-17 20:08:40 +0100
committerAvi Kivity <avi@qumranet.com>2008-04-27 11:00:31 +0200
commit1e977aa12dd4f80688b1f243762212e75c6d7fe8 (patch)
tree572941849e9d63c0de7233d2352d346dc097be49 /include
parentx86: make native_machine_shutdown non-static (diff)
downloadlinux-1e977aa12dd4f80688b1f243762212e75c6d7fe8.tar.xz
linux-1e977aa12dd4f80688b1f243762212e75c6d7fe8.zip
x86: KVM guest: disable clock before rebooting.
This patch writes 0 (actually, what really matters is that the LSB is cleared) to the system time msr before shutting down the machine for kexec. Without it, we can have a random memory location being written when the guest comes back It overrides the functions shutdown, used in the path of kernel_kexec() (sys.c) and crash_shutdown, used in the path of crash_kexec() (kexec.c) Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions