Home
last modified time | relevance | path

Searched refs:vmcs (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/tools/testing/selftests/kvm/lib/
Dvmx.c39 vmx->vmcs = (void *)vm_vaddr_alloc(vm, getpagesize(), 0x10000, 0, 0); in vcpu_alloc_vmx()
40 vmx->vmcs_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmcs); in vcpu_alloc_vmx()
41 vmx->vmcs_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vmcs); in vcpu_alloc_vmx()
111 *(uint32_t *)(vmx->vmcs) = vmcs_revision(); in prepare_for_vmx_operation()
/Linux-v4.19/arch/x86/kvm/
Dvmx.c365 struct vmcs { struct
394 struct vmcs *vmcs; member
395 struct vmcs *shadow_vmcs;
1289 static DEFINE_PER_CPU(struct vmcs *, vmxarea);
1290 static DEFINE_PER_CPU(struct vmcs *, current_vmcs);
2118 static void vmcs_clear(struct vmcs *vmcs) in vmcs_clear() argument
2120 u64 phys_addr = __pa(vmcs); in vmcs_clear()
2128 vmcs, phys_addr); in vmcs_clear()
2133 vmcs_clear(loaded_vmcs->vmcs); in loaded_vmcs_init()
2140 static void vmcs_load(struct vmcs *vmcs) in vmcs_load() argument
[all …]
/Linux-v4.19/tools/testing/selftests/kvm/include/
Dvmx.h529 void *vmcs; member