Searched refs:vmread (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/include/x86_64/ |
H A D | vmx.h | 492 static inline int vmread(uint64_t encoding, uint64_t *value) in vmread() function 500 __asm__ __volatile__("vmread %[encoding], %[value]; setna %[ret]" in vmread() 510 * A wrapper around vmread that ignores errors and returns zero if the 511 * vmread instruction fails. 516 vmread(encoding, &value); in vmreadz() 559 void *vmread; member
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/include/x86_64/ |
H A D | vmx.h | 452 static inline int vmread(uint64_t encoding, uint64_t *value) in vmread() function 460 __asm__ __volatile__("vmread %[encoding], %[value]; setna %[ret]" in vmread() 470 * A wrapper around vmread that ignores errors and returns zero if the 471 * vmread instruction fails. 476 vmread(encoding, &value); in vmreadz() 519 void *vmread; member
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/lib/x86_64/ |
H A D | vmx.c | 102 vmx->vmread = (void *)vm_vaddr_alloc_page(vm); in vcpu_alloc_vmx() 103 vmx->vmread_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmread); in vcpu_alloc_vmx() 104 vmx->vmread_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vmread); in vcpu_alloc_vmx()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/x86_64/ |
H A D | vmx.c | 105 vmx->vmread = (void *)vm_vaddr_alloc(vm, getpagesize(), 0x10000, 0, 0); in vcpu_alloc_vmx() 106 vmx->vmread_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmread); in vcpu_alloc_vmx() 107 vmx->vmread_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vmread); in vcpu_alloc_vmx()
|
Completed in 6 milliseconds