aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorOliver Upton <oliver.upton@linux.dev>2025-03-05 15:08:25 -0800
committerOliver Upton <oliver.upton@linux.dev>2025-03-05 16:56:58 -0800
commit5980a693701229c02f19fec051ae0845309413c6 (patch)
treed6ca49c62fadc333cee9bdf5d5e8367b3a5e1edc
parentKVM: arm64: Copy MIDR_EL1 into hyp VM when it is writable (diff)
downloadwireguard-linux-5980a693701229c02f19fec051ae0845309413c6.tar.xz
wireguard-linux-5980a693701229c02f19fec051ae0845309413c6.zip
KVM: arm64: Fix documentation for KVM_CAP_ARM_WRITABLE_IMP_ID_REGS
The capability actually fails with EINVAL if vCPUs have already been created. Reviewed-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20250305230825.484091-4-oliver.upton@linux.dev Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
-rw-r--r--Documentation/virt/kvm/api.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
index 56f3dcdc4477..3468a2a7de6b 100644
--- a/Documentation/virt/kvm/api.rst
+++ b/Documentation/virt/kvm/api.rst
@@ -8264,7 +8264,7 @@ take care to differentiate between these cases.
:Architectures: arm64
:Target: VM
:Parameters: None
-:Returns: 0 on success, -EBUSY if vCPUs have been created before enabling this
+:Returns: 0 on success, -EINVAL if vCPUs have been created before enabling this
capability.
This capability changes the behavior of the registers that identify a PE