KVM: nVMX: Implement VMREAD and VMWRITE
commit49f705c5324aa13bb5623b392c23996e23eabc23
authorNadav Har'El <nyh@il.ibm.com>
Wed, 25 May 2011 20:08:30 +0000 (25 23:08 +0300)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 08:45:14 +0000 (12 11:45 +0300)
tree3b9ad512eb7d63f1d7a2b60d2671a963c632397c
parent6a4d7550601b5b17df227959bdbec208384f729c
KVM: nVMX: Implement VMREAD and VMWRITE

Implement the VMREAD and VMWRITE instructions. With these instructions, L1
can read and write to the VMCS it is holding. The values are read or written
to the fields of the vmcs12 structure introduced in a previous patch.

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