diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt index 5519df0d3ed0f1f57af3bc9fc1a3c89efef2fbb8..818ac97fdabc2a8bf3b25d82c002e7eb73afd854 100644 --- a/Documentation/virtual/kvm/api.txt +++ b/Documentation/virtual/kvm/api.txt @@ -1873,8 +1873,10 @@ Parameters: struct kvm_one_reg (in) Returns: 0 on success, negative value on failure Errors: Â ENOENT: Â Â no such register - Â EPERM: Â Â Â register access forbidden for architecture-dependent reasons - Â EINVAL: Â Â other errors, such as bad size encoding for a known register + Â EINVAL: Â Â invalid register ID, or no such register + Â EPERM: Â Â Â (arm64) register access not allowed before vcpu finalization +(These error codes are indicative only: do not rely on a specific error +code being returned in a specific situation.) struct kvm_one_reg { __u64 id; @@ -2260,10 +2262,12 @@ Architectures: all Type: vcpu ioctl Parameters: struct kvm_one_reg (in and out) Returns: 0 on success, negative value on failure -Errors: +Errors include: Â ENOENT: Â Â no such register - Â EPERM: Â Â Â register access forbidden for architecture-dependent reasons - Â EINVAL: Â Â other errors, such as bad size encoding for a known register + Â EINVAL: Â Â invalid register ID, or no such register + Â EPERM: Â Â Â (arm64) register access not allowed before vcpu finalization +(These error codes are indicative only: do not rely on a specific error +code being returned in a specific situation.) This ioctl allows to receive the value of a single register implemented in a vcpu. The register to read is indicated by the "id" field of the