Searched refs:vmx_pages (Results 1 – 4 of 4) sorted by relevance
| /Linux-v4.19/tools/testing/selftests/kvm/ |
| D | state_test.c | 48 void l1_guest_code(struct vmx_pages *vmx_pages) in l1_guest_code() argument 53 GUEST_ASSERT(vmx_pages->vmcs_gpa); in l1_guest_code() 54 GUEST_ASSERT(prepare_for_vmx_operation(vmx_pages)); in l1_guest_code() 55 GUEST_ASSERT(vmptrstz() == vmx_pages->vmcs_gpa); in l1_guest_code() 58 GUEST_ASSERT(vmptrstz() == vmx_pages->vmcs_gpa); in l1_guest_code() 60 prepare_vmcs(vmx_pages, l2_guest_code, in l1_guest_code() 64 GUEST_ASSERT(vmptrstz() == vmx_pages->vmcs_gpa); in l1_guest_code() 66 GUEST_ASSERT(vmptrstz() == vmx_pages->vmcs_gpa); in l1_guest_code() 84 vmwrite(VMCS_LINK_POINTER, vmx_pages->shadow_vmcs_gpa); in l1_guest_code() 86 GUEST_ASSERT(!vmptrld(vmx_pages->shadow_vmcs_gpa)); in l1_guest_code() [all …]
|
| D | vmx_tsc_adjust_test.c | 85 static void l1_guest_code(struct vmx_pages *vmx_pages) in l1_guest_code() argument 96 GUEST_ASSERT(prepare_for_vmx_operation(vmx_pages)); in l1_guest_code() 99 prepare_vmcs(vmx_pages, l2_guest_code, in l1_guest_code() 131 struct vmx_pages *vmx_pages; in main() local 144 vmx_pages = vcpu_alloc_vmx(vm, &vmx_pages_gva); in main()
|
| /Linux-v4.19/tools/testing/selftests/kvm/lib/ |
| D | vmx.c | 27 struct vmx_pages * 31 struct vmx_pages *vmx = addr_gva2hva(vm, vmx_gva); in vcpu_alloc_vmx() 69 bool prepare_for_vmx_operation(struct vmx_pages *vmx) in prepare_for_vmx_operation() 129 static inline void init_vmcs_control_fields(struct vmx_pages *vmx) in init_vmcs_control_fields() 278 void prepare_vmcs(struct vmx_pages *vmx, void *guest_rip, void *guest_rsp) in prepare_vmcs()
|
| /Linux-v4.19/tools/testing/selftests/kvm/include/ |
| D | vmx.h | 522 struct vmx_pages { struct 548 struct vmx_pages *vcpu_alloc_vmx(struct kvm_vm *vm, vm_vaddr_t *p_vmx_gva); argument 549 bool prepare_for_vmx_operation(struct vmx_pages *vmx); 550 void prepare_vmcs(struct vmx_pages *vmx, void *guest_rip, void *guest_rsp);
|