Lines Matching defs:vmptr
4914 gpa_t vmptr;
4976 if (nested_vmx_get_vmptr(vcpu, &vmptr, &ret))
4987 if (!page_address_valid(vcpu, vmptr))
4990 if (kvm_read_guest(vcpu->kvm, vmptr, &revision, sizeof(revision)) ||
4994 vmx->nested.vmxon_ptr = vmptr;
5048 gpa_t vmptr;
5055 if (nested_vmx_get_vmptr(vcpu, &vmptr, &r))
5058 if (!page_address_valid(vcpu, vmptr))
5061 if (vmptr == vmx->nested.vmxon_ptr)
5066 * memory area pointer by vmptr as Enlightened VMCS (as there's no good
5076 if (vmptr == vmx->nested.current_vmptr)
5080 vmptr + offsetof(struct vmcs12,
5292 static void set_current_vmptr(struct vcpu_vmx *vmx, gpa_t vmptr)
5294 vmx->nested.current_vmptr = vmptr;
5308 gpa_t vmptr;
5314 if (nested_vmx_get_vmptr(vcpu, &vmptr, &r))
5317 if (!page_address_valid(vcpu, vmptr))
5320 if (vmptr == vmx->nested.vmxon_ptr)
5327 if (vmx->nested.current_vmptr != vmptr) {
5331 if (kvm_vcpu_map(vcpu, gpa_to_gfn(vmptr), &map)) {
5361 set_current_vmptr(vmx, vmptr);