Lines Matching defs:vmptr
251 static bool nested_evmcs_handle_vmclear(struct kvm_vcpu *vcpu, gpa_t vmptr)
257 * memory area pointer by vmptr as Enlightened VMCS (as there's no good
269 if (nested_vmx_evmcs(vmx) && vmptr == vmx->nested.hv_evmcs_vmptr)
5466 gpa_t vmptr;
5528 if (nested_vmx_get_vmptr(vcpu, &vmptr, &ret))
5539 if (!page_address_valid(vcpu, vmptr))
5542 if (kvm_read_guest(vcpu->kvm, vmptr, &revision, sizeof(revision)) ||
5546 vmx->nested.vmxon_ptr = vmptr;
5600 gpa_t vmptr;
5606 if (nested_vmx_get_vmptr(vcpu, &vmptr, &r))
5609 if (!page_address_valid(vcpu, vmptr))
5612 if (vmptr == vmx->nested.vmxon_ptr)
5615 if (likely(!nested_evmcs_handle_vmclear(vcpu, vmptr))) {
5616 if (vmptr == vmx->nested.current_vmptr)
5629 vmptr + offsetof(struct vmcs12,
5863 static void set_current_vmptr(struct vcpu_vmx *vmx, gpa_t vmptr)
5865 vmx->nested.current_vmptr = vmptr;
5880 gpa_t vmptr;
5886 if (nested_vmx_get_vmptr(vcpu, &vmptr, &r))
5889 if (!page_address_valid(vcpu, vmptr))
5892 if (vmptr == vmx->nested.vmxon_ptr)
5899 if (vmx->nested.current_vmptr != vmptr) {
5903 if (kvm_gfn_to_hva_cache_init(vcpu->kvm, ghc, vmptr, VMCS12_SIZE)) {
5940 set_current_vmptr(vmx, vmptr);