Searched refs:KVM_HC_MAP_GPA_RANGE (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/include/uapi/linux/ |
D | kvm_para.h | 32 #define KVM_HC_MAP_GPA_RANGE 12 macro
|
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/ |
D | private_mem_conversions_test.c | 299 TEST_ASSERT(run->hypercall.nr == KVM_HC_MAP_GPA_RANGE, in handle_exit_hypercall() 301 KVM_HC_MAP_GPA_RANGE, run->hypercall.nr); in handle_exit_hypercall() 395 vm_enable_cap(vm, KVM_CAP_EXIT_HYPERCALL, (1 << KVM_HC_MAP_GPA_RANGE)); in test_mem_conversions()
|
/linux-6.12.1/arch/x86/kernel/ |
D | kvm.c | 930 kvm_sev_hypercall3(KVM_HC_MAP_GPA_RANGE, pfn << PAGE_SHIFT, npages, in kvm_sev_hc_page_enc_status() 963 kvm_sev_hypercall3(KVM_HC_MAP_GPA_RANGE, entry->addr, in kvm_init_platform()
|
/linux-6.12.1/Documentation/virt/kvm/x86/ |
D | hypercalls.rst | 173 8. KVM_HC_MAP_GPA_RANGE
|
D | msr.rst | 389 ``KVM_HC_MAP_GPA_RANGE`` hypercall, it can set bit 0 in this MSR to
|
/linux-6.12.1/arch/x86/kvm/svm/ |
D | sev.c | 3643 if (!(vcpu->kvm->arch.hypercall_exit_enabled & (1 << KVM_HC_MAP_GPA_RANGE))) { in snp_begin_psc_msr() 3649 vcpu->run->hypercall.nr = KVM_HC_MAP_GPA_RANGE; in snp_begin_psc_msr() 3726 if (!(vcpu->kvm->arch.hypercall_exit_enabled & (1 << KVM_HC_MAP_GPA_RANGE))) { in snp_begin_psc() 3812 vcpu->run->hypercall.nr = KVM_HC_MAP_GPA_RANGE; in snp_begin_psc()
|
/linux-6.12.1/tools/testing/selftests/kvm/include/x86_64/ |
D | processor.h | 1317 return kvm_hypercall(KVM_HC_MAP_GPA_RANGE, gpa, size >> PAGE_SHIFT, flags, 0); in __kvm_hypercall_map_gpa_range()
|
/linux-6.12.1/arch/x86/kvm/ |
D | x86.c | 124 #define KVM_EXIT_HYPERCALL_VALID_MASK (1 << KVM_HC_MAP_GPA_RANGE) 10055 case KVM_HC_MAP_GPA_RANGE: { in __kvm_emulate_hypercall() 10059 if (!(vcpu->kvm->arch.hypercall_exit_enabled & (1 << KVM_HC_MAP_GPA_RANGE))) in __kvm_emulate_hypercall() 10069 vcpu->run->hypercall.nr = KVM_HC_MAP_GPA_RANGE; in __kvm_emulate_hypercall() 10114 if (nr == KVM_HC_MAP_GPA_RANGE && !ret) in kvm_emulate_hypercall()
|
/linux-6.12.1/Documentation/virt/kvm/ |
D | api.rst | 8837 Right now, the only such hypercall is KVM_HC_MAP_GPA_RANGE.
|