KVM: nVMX: Add VMCS fields to the vmcs12
authorNadav Har'El <nyh@il.ibm.com>
Wed, 25 May 2011 20:05:57 +0000 (23:05 +0300)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 08:45:11 +0000 (11:45 +0300)
commit22bd035868b06a614debf7352c09fb3efdc7c269
treefd7efb3e2928e9b2a5e9764799aa4a23c640a77e
parentff2f6fe9618806d365f76a6f11a4f37881919412
KVM: nVMX: Add VMCS fields to the vmcs12

In this patch we add to vmcs12 (the VMCS that L1 keeps for L2) all the
standard VMCS fields.

Later patches will enable L1 to read and write these fields using VMREAD/
VMWRITE, and they will be used during a VMLAUNCH/VMRESUME in preparing vmcs02,
a hardware VMCS for running L2.

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