OSDN Git Service

KVM: x86: add support for UMIP
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 12 Jul 2016 08:36:41 +0000 (10:36 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Dec 2017 08:26:38 +0000 (09:26 +0100)
commitae3e61e1c28338d077b704505570fa181df1e41f
treeaeaec47358621770a61dd23a4f8d08bd7ca81fc7
parentcf656c76614c6ec5b016233cac29738881c83c08
KVM: x86: add support for UMIP

Add the CPUID bits, make the CR4.UMIP bit not reserved anymore, and
add UMIP support for instructions that are already emulated by KVM.

Reviewed-by: Wanpeng Li <wanpeng.li@hotmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/cpuid.c
arch/x86/kvm/emulate.c
arch/x86/kvm/x86.c