]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Implement VMREAD and VMWRITE
authorNadav Har'El <nyh@il.ibm.com>
Wed, 25 May 2011 20:08:30 +0000 (23:08 +0300)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 08:45:14 +0000 (11:45 +0300)
commit03a08d915eaa2bc87e336852969bbc177a27991a
tree3b9ad512eb7d63f1d7a2b60d2671a963c632397c
parentcff6112e6d109a42fdda859c8a0efa71b6df5be1
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