Lines Matching refs:vmx
32 static void memstress_l1_guest_code(struct vmx_pages *vmx, uint64_t vcpu_id) in memstress_l1_guest_code() argument
38 GUEST_ASSERT(vmx->vmcs_gpa); in memstress_l1_guest_code()
39 GUEST_ASSERT(prepare_for_vmx_operation(vmx)); in memstress_l1_guest_code()
40 GUEST_ASSERT(load_vmcs(vmx)); in memstress_l1_guest_code()
45 prepare_vmcs(vmx, memstress_l2_guest_entry, rsp); in memstress_l1_guest_code()
62 void memstress_setup_ept(struct vmx_pages *vmx, struct kvm_vm *vm) in memstress_setup_ept() argument
66 prepare_eptp(vmx, vm, 0); in memstress_setup_ept()
73 nested_identity_map_1g(vmx, vm, 0, 0x100000000ULL); in memstress_setup_ept()
77 nested_identity_map_1g(vmx, vm, start, end - start); in memstress_setup_ept()
82 struct vmx_pages *vmx, *vmx0 = NULL; in memstress_setup_nested() local
91 vmx = vcpu_alloc_vmx(vm, &vmx_gva); in memstress_setup_nested()
94 memstress_setup_ept(vmx, vm); in memstress_setup_nested()
95 vmx0 = vmx; in memstress_setup_nested()
98 vmx->eptp = vmx0->eptp; in memstress_setup_nested()
99 vmx->eptp_hva = vmx0->eptp_hva; in memstress_setup_nested()
100 vmx->eptp_gpa = vmx0->eptp_gpa; in memstress_setup_nested()