]> 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)
commitd09cec77230b7ec2dffa9eec9a991501970a4fc4
tree3b9ad512eb7d63f1d7a2b60d2671a963c632397c
parent3c8f68c45123aebdd9ce09bd67032b8d210da55e
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