Skip to content

Commit e47f3c2

Browse files
danielhbavpatel
authored andcommitted
docs: kvm: riscv: document EBUSY in KVM_SET_ONE_REG
The EBUSY errno is being used for KVM_SET_ONE_REG as a way to tell userspace that a given reg can't be changed after the vcpu started. Signed-off-by: Daniel Henrique Barboza <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Signed-off-by: Anup Patel <[email protected]>
1 parent 1deaf75 commit e47f3c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Documentation/virt/kvm/api.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2259,6 +2259,8 @@ Errors:
22592259
EINVAL invalid register ID, or no such register or used with VMs in
22602260
protected virtualization mode on s390
22612261
EPERM (arm64) register access not allowed before vcpu finalization
2262+
EBUSY (riscv) changing register value not allowed after the vcpu
2263+
has run at least once
22622264
====== ============================================================
22632265

22642266
(These error codes are indicative only: do not rely on a specific error

0 commit comments

Comments
 (0)