Lines Matching refs:vmcs
256 static void vmx_switch_vmcs(struct kvm_vcpu *vcpu, struct loaded_vmcs *vmcs)
262 if (WARN_ON_ONCE(vmx->loaded_vmcs == vmcs))
267 vmx->loaded_vmcs = vmcs;
323 * Ensure that the current vmcs of the logical processor is the
1557 struct vmcs *shadow_vmcs = vmx->vmcs01.shadow_vmcs;
1577 vmcs_load(vmx->loaded_vmcs->vmcs);
1592 struct vmcs *shadow_vmcs = vmx->vmcs01.shadow_vmcs;
1613 vmcs_load(vmx->loaded_vmcs->vmcs);
2518 * L2 guest. L1 has a vmcs for L2 (vmcs12), and this function "merges" it
2521 * needs. In addition to modifying the active vmcs (which is vmcs02), this
4161 * and we want to prepare to run its L1 parent. L1 keeps a vmcs for L2 (vmcs12),
4833 static struct vmcs *alloc_shadow_vmcs(struct kvm_vcpu *vcpu)
4839 * We should allocate a shadow vmcs for vmcs01 only when L1
4842 * here when vmcs01 already have an allocated shadow vmcs.
5283 vmcs_load(vmx->loaded_vmcs->vmcs);
6081 * vmcs.VM_EXIT_INTR_INFO is only valid for EXCEPTION_NMI exits. For
6178 * in the shadow or enlightened vmcs linked to vmcs01, unless