Skip to content

Commit

Permalink
KVM: arm64: Fix documentation for KVM_CAP_ARM_WRITABLE_IMP_ID_REGS
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Oliver Upton committed Mar 6, 2025
1 parent 03e1b89 commit 5980a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/virt/kvm/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5980a69

Please sign in to comment.