aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
authorSean Christopherson <seanjc@google.com>2026-05-27 19:12:29 -0700
committerSean Christopherson <seanjc@google.com>2026-05-27 19:12:29 -0700
commitbc5f0a95ae3c51a48f18a6d0eaa9483b37c1dcc6 (patch)
treeab9093d8cb806bba964c735f465976108cf98b14 /Documentation
parent5ada7ec7b3d14ec7efb09d174115697ed5319d7b (diff)
parent5d40e5b49442437fe9dfd2577f7b17c07dbefb92 (diff)
downloadlinux-next-history-bc5f0a95ae3c51a48f18a6d0eaa9483b37c1dcc6.tar.gz
Merge branch 'misc'
* misc: (30 commits) KVM: SEV: Restrict userspace return codes for KVM_HC_MAP_GPA_RANGE KVM: TDX: Allow userspace to return errors to guest for MAPGPA KVM: selftests: Update hwcr_msr_test for CPUID faulting bit KVM: x86: Virtualize AMD CPUID faulting KVM: x86: Remove supports_cpuid_fault() helper KVM: x86: Prioritize CPUID faulting over CPUID VM-exits in nested VMX KVM: x86: Consolidate CPUID fault handling for emulator and interception logic KVM: x86: Treat KVM's virtual PMU as disabled for TDX VMs KVM: selftests: Add nested page fault injection test KVM: VMX: Synthesize nested EPT violation GVA_IS_VALID/GVA_TRANSLATED bits KVM: SVM: Fix nested NPF injection of PFERR_GUEST_{PAGE,FINAL}_MASK bits KVM: x86: Tell ->inject_page_fault() whether or a fault came from hardware KVM: x86: Widen x86_exception's error_code to 64 bits MAINTAINERS: KVM: Include maintainer profile KVM: x86: Remove unused X86EMUL_MODE_HOST define KVM: selftests: Verify VMX's GUEST_PENDING_DBG_EXCEPTIONS.BS Consistency Check KVM: selftests: Verify guest debug DR7.GD checking during instruction emulation KVM: selftests: Add all (known) EFLAGS bit definitions KVM: x86: Drop kvm_vcpu_do_singlestep() now that it's been gutted KVM: x86: Move KVM_GUESTDBG_SINGLESTEP handling into kvm_inject_emulated_db() ...
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/virt/kvm/api.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
index 52bbbb553ce10..1a5a82ab0d661 100644
--- a/Documentation/virt/kvm/api.rst
+++ b/Documentation/virt/kvm/api.rst
@@ -8818,6 +8818,9 @@ block sizes is exposed in KVM_CAP_ARM_SUPPORTED_BLOCK_SIZES as a
This capability, if enabled, will cause KVM to exit to userspace
with KVM_EXIT_HYPERCALL exit reason to process some hypercalls.
+Userspace may fail the hypercall by setting hypercall.ret to EINVAL
+or may request the hypercall to be retried the next time the guest run
+by setting hypercall.ret to EAGAIN.
Calling KVM_CHECK_EXTENSION for this capability will return a bitmask
of hypercalls that can be configured to exit to userspace.