Home
last modified time | relevance | path

Searched refs:KVM_HC_MAP_GPA_RANGE (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/include/uapi/linux/
H A Dkvm_para.h32 #define KVM_HC_MAP_GPA_RANGE 12 macro
/linux-6.15/tools/testing/selftests/kvm/x86/
H A Dprivate_mem_conversions_test.c299 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.15/arch/x86/kernel/
H A Dkvm.c929 kvm_sev_hypercall3(KVM_HC_MAP_GPA_RANGE, pfn << PAGE_SHIFT, npages, in kvm_sev_hc_page_enc_status()
962 kvm_sev_hypercall3(KVM_HC_MAP_GPA_RANGE, entry->addr, in kvm_init_platform()
/linux-6.15/Documentation/virt/kvm/x86/
H A Dhypercalls.rst173 8. KVM_HC_MAP_GPA_RANGE
H A Dmsr.rst389 ``KVM_HC_MAP_GPA_RANGE`` hypercall, it can set bit 0 in this MSR to
/linux-6.15/arch/x86/kvm/svm/
H A Dsev.c3634 if (!user_exit_on_hypercall(vcpu->kvm, KVM_HC_MAP_GPA_RANGE)) { in snp_begin_psc_msr()
3640 vcpu->run->hypercall.nr = KVM_HC_MAP_GPA_RANGE; in snp_begin_psc_msr()
3731 if (!user_exit_on_hypercall(vcpu->kvm, KVM_HC_MAP_GPA_RANGE)) { in snp_begin_psc()
3817 vcpu->run->hypercall.nr = KVM_HC_MAP_GPA_RANGE; in snp_begin_psc()
/linux-6.15/tools/testing/selftests/kvm/include/x86/
H A Dprocessor.h1339 return kvm_hypercall(KVM_HC_MAP_GPA_RANGE, gpa, size >> PAGE_SHIFT, flags, 0); in __kvm_hypercall_map_gpa_range()
/linux-6.15/arch/x86/kvm/
H A Dx86.c122 #define KVM_EXIT_HYPERCALL_VALID_MASK (1 << KVM_HC_MAP_GPA_RANGE)
10083 case KVM_HC_MAP_GPA_RANGE: { in ____kvm_emulate_hypercall()
10087 if (!user_exit_on_hypercall(vcpu->kvm, KVM_HC_MAP_GPA_RANGE)) in ____kvm_emulate_hypercall()
10097 vcpu->run->hypercall.nr = KVM_HC_MAP_GPA_RANGE; in ____kvm_emulate_hypercall()
/linux-6.15/Documentation/virt/kvm/
H A Dapi.rst8465 Right now, the only such hypercall is KVM_HC_MAP_GPA_RANGE.