OSDN Git Service

x86/kexec: VMCLEAR VMCSs loaded on all cpus if necessary
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>
Thu, 6 Dec 2012 15:40:47 +0000 (23:40 +0800)
committerGleb Natapov <gleb@redhat.com>
Thu, 6 Dec 2012 16:25:36 +0000 (18:25 +0200)
commitf23d1f4a116038c68df224deae6718fde87d8f0d
tree72d414b6fddf5b726559fba66d2f1d7ffc21de7b
parentc21934632549910188fb5cf40e79033f27a0741b
x86/kexec: VMCLEAR VMCSs loaded on all cpus if necessary

This patch provides a way to VMCLEAR VMCSs related to guests
on all cpus before executing the VMXOFF when doing kdump. This
is used to ensure the VMCSs in the vmcore updated and
non-corrupted.

Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Acked-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/include/asm/kexec.h
arch/x86/kernel/crash.c