KVM: Add a helper for checking if the guest is in protected mode
authorAvi Kivity <avi@redhat.com>
Thu, 21 Jan 2010 13:31:48 +0000 (15:31 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 1 Mar 2010 15:36:04 +0000 (12:36 -0300)
commit3eeb3288bcbf64da90afc26389b8844df7c34912
tree1b7bc55641015605da0b415a928ecf39aac64a2e
parent6b52d18605f580bdffaffd48c8da228c3e848deb
KVM: Add a helper for checking if the guest is in protected mode

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c
arch/x86/kvm/x86.h