Home
last modified time | relevance | path

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

/linux-6.12.1/include/uapi/linux/
Dkvm_para.h32 #define KVM_HC_MAP_GPA_RANGE 12 macro
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
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.12.1/arch/x86/kernel/
Dkvm.c930 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/
Dhypercalls.rst173 8. KVM_HC_MAP_GPA_RANGE
Dmsr.rst389 ``KVM_HC_MAP_GPA_RANGE`` hypercall, it can set bit 0 in this MSR to
/linux-6.12.1/arch/x86/kvm/svm/
Dsev.c3643 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/
Dprocessor.h1317 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/
Dx86.c124 #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/
Dapi.rst8837 Right now, the only such hypercall is KVM_HC_MAP_GPA_RANGE.