]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/vmx.c
KVM: VMX: provide the vmclear function and a bitmap to support VMCLEAR in kdump
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>
Thu, 6 Dec 2012 15:43:34 +0000 (23:43 +0800)
committerGleb Natapov <gleb@redhat.com>
Thu, 6 Dec 2012 16:26:57 +0000 (18:26 +0200)
commit8f536b7697a0d40ef6b5fd04cf2c04953d5ca06f
treec163bd13b3cc17b7b16ceb3be2d7c96d32400d75
parentf23d1f4a116038c68df224deae6718fde87d8f0d
KVM: VMX: provide the vmclear function and a bitmap to support VMCLEAR in kdump

The vmclear function will be assigned to the callback function pointer
when loading kvm-intel module. And the bitmap indicates whether we
should do VMCLEAR operation in kdump. The bits in the bitmap are
set/unset according to different conditions.

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/kvm/vmx.c