From: Oliver Upton Date: Wed, 5 Mar 2025 23:08:25 +0000 (-0800) Subject: KVM: arm64: Fix documentation for KVM_CAP_ARM_WRITABLE_IMP_ID_REGS X-Git-Tag: v6.15-rc1~195^2~2^2~2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5980a693701229c02f19fec051ae0845309413c6;p=thirdparty%2Flinux.git 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 --- diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst index 56f3dcdc44777..3468a2a7de6be 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