KVM: nVMX: Success/failure of VMX instructions.
authorNadav Har'El <nyh@il.ibm.com>
Wed, 25 May 2011 20:06:28 +0000 (23:06 +0300)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 08:45:12 +0000 (11:45 +0300)
commit0140caea3b9972f826416a796271f17b42cbe827
treec3a37c37274622361cf6a8974fdc17acc2c02a72
parent22bd035868b06a614debf7352c09fb3efdc7c269
KVM: nVMX: Success/failure of VMX instructions.

VMX instructions specify success or failure by setting certain RFLAGS bits.
This patch contains common functions to do this, and they will be used in
the following patches which emulate the various VMX instructions.

Signed-off-by: Nadav Har'El <nyh@il.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/vmx.h
arch/x86/kvm/vmx.c