]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitac24725f77ebb511b38e901aaac1e8ec8c2892fd
treec3a37c37274622361cf6a8974fdc17acc2c02a72
parent8c330580a0a636290d698b181cf7303775fe976e
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