Lines Matching refs:vmcs
265 static void vmx_switch_vmcs(struct kvm_vcpu *vcpu, struct loaded_vmcs *vmcs)
271 if (WARN_ON_ONCE(vmx->loaded_vmcs == vmcs))
276 vmx->loaded_vmcs = vmcs;
340 * Ensure that the current vmcs of the logical processor is the
1520 struct vmcs *shadow_vmcs = vmx->vmcs01.shadow_vmcs;
1540 vmcs_load(vmx->loaded_vmcs->vmcs);
1555 struct vmcs *shadow_vmcs = vmx->vmcs01.shadow_vmcs;
1576 vmcs_load(vmx->loaded_vmcs->vmcs);
2524 * L2 guest. L1 has a vmcs for L2 (vmcs12), and this function "merges" it
2527 * needs. In addition to modifying the active vmcs (which is vmcs02), this
4400 * and we want to prepare to run its L1 parent. L1 keeps a vmcs for L2 (vmcs12),
5069 static struct vmcs *alloc_shadow_vmcs(struct kvm_vcpu *vcpu)
5547 vmcs_load(vmx->loaded_vmcs->vmcs);
6386 * vmcs.VM_EXIT_INTR_INFO is only valid for EXCEPTION_NMI exits. For
6484 * in the shadow or enlightened vmcs linked to vmcs01, unless