]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Prepare vmcs02 from vmcs01 and vmcs12
authorNadav Har'El <nyh@il.ibm.com>
Wed, 25 May 2011 20:10:02 +0000 (23:10 +0300)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 08:45:14 +0000 (11:45 +0300)
commit0c47fe8ccdc3b2801b5b25bc27345caf2888786e
treea26236a08fa32a1d312842e88380a24a4f5189c9
parent3b80109f97a2fabdacb7fb8f728d9e6c5465d1a3
KVM: nVMX: Prepare vmcs02 from vmcs01 and vmcs12

This patch contains code to prepare the VMCS which can be used to actually
run the L2 guest, vmcs02. prepare_vmcs02 appropriately merges the information
in vmcs12 (the vmcs that L1 built for L2) and in vmcs01 (our desires for our
own guests).

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