Searched refs:vmx_pages (Results 1 – 5 of 5) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/ |
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() 56 GUEST_ASSERT(load_vmcs(vmx_pages)); in l1_guest_code() 57 GUEST_ASSERT(vmptrstz() == vmx_pages->vmcs_gpa); in l1_guest_code() 60 GUEST_ASSERT(vmptrstz() == vmx_pages->vmcs_gpa); in l1_guest_code() 62 prepare_vmcs(vmx_pages, l2_guest_code, in l1_guest_code() 66 GUEST_ASSERT(vmptrstz() == vmx_pages->vmcs_gpa); in l1_guest_code() 68 GUEST_ASSERT(vmptrstz() == vmx_pages->vmcs_gpa); in l1_guest_code() 86 vmwrite(VMCS_LINK_POINTER, vmx_pages->shadow_vmcs_gpa); in l1_guest_code() [all …]
|
D | evmcs_test.c | 34 void l1_guest_code(struct vmx_pages *vmx_pages) in l1_guest_code() argument 39 enable_vp_assist(vmx_pages->vp_assist_gpa, vmx_pages->vp_assist); in l1_guest_code() 41 GUEST_ASSERT(vmx_pages->vmcs_gpa); in l1_guest_code() 42 GUEST_ASSERT(prepare_for_vmx_operation(vmx_pages)); in l1_guest_code() 44 GUEST_ASSERT(load_vmcs(vmx_pages)); in l1_guest_code() 45 GUEST_ASSERT(vmptrstz() == vmx_pages->enlightened_vmcs_gpa); in l1_guest_code() 48 GUEST_ASSERT(vmptrstz() == vmx_pages->enlightened_vmcs_gpa); in l1_guest_code() 50 prepare_vmcs(vmx_pages, l2_guest_code, in l1_guest_code() 54 GUEST_ASSERT(vmptrstz() == vmx_pages->enlightened_vmcs_gpa); in l1_guest_code() 56 GUEST_ASSERT(vmptrstz() == vmx_pages->enlightened_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() 97 GUEST_ASSERT(load_vmcs(vmx_pages)); in l1_guest_code() 100 prepare_vmcs(vmx_pages, l2_guest_code, in l1_guest_code() 132 struct vmx_pages *vmx_pages; in main() local 145 vmx_pages = vcpu_alloc_vmx(vm, &vmx_pages_gva); in main()
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/ |
D | vmx.c | 29 struct vmx_pages * 33 struct vmx_pages *vmx = addr_gva2hva(vm, vmx_gva); in vcpu_alloc_vmx() 85 bool prepare_for_vmx_operation(struct vmx_pages *vmx) in prepare_for_vmx_operation() 129 bool load_vmcs(struct vmx_pages *vmx) in load_vmcs() 158 static inline void init_vmcs_control_fields(struct vmx_pages *vmx) in init_vmcs_control_fields() 307 void prepare_vmcs(struct vmx_pages *vmx, void *guest_rip, void *guest_rsp) in prepare_vmcs()
|
/external/linux-kselftest/tools/testing/selftests/kvm/include/x86_64/ |
D | vmx.h | 542 struct vmx_pages { struct 576 struct vmx_pages *vcpu_alloc_vmx(struct kvm_vm *vm, vm_vaddr_t *p_vmx_gva); argument 577 bool prepare_for_vmx_operation(struct vmx_pages *vmx); 578 void prepare_vmcs(struct vmx_pages *vmx, void *guest_rip, void *guest_rsp); 579 bool load_vmcs(struct vmx_pages *vmx);
|