From 5980a693701229c02f19fec051ae0845309413c6 Mon Sep 17 00:00:00 2001 From: Oliver Upton Date: Wed, 5 Mar 2025 15:08:25 -0800 Subject: [PATCH] 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 Link: https://lore.kernel.org/r/20250305230825.484091-4-oliver.upton@linux.dev Signed-off-by: Oliver Upton --- Documentation/virt/kvm/api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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