]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
KVM: arm64: Fix documentation for KVM_CAP_ARM_WRITABLE_IMP_ID_REGS
authorOliver Upton <oliver.upton@linux.dev>
Wed, 5 Mar 2025 23:08:25 +0000 (15:08 -0800)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 6 Mar 2025 00:56:58 +0000 (16:56 -0800)
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>
Documentation/virt/kvm/api.rst

index 56f3dcdc44777651e42fecec2ab9e593e42036a0..3468a2a7de6be898aded2a7317c5983c4f54035e 100644 (file)
@@ -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