Commit 49ae248b authored by Janis Schoetterl-Glausch's avatar Janis Schoetterl-Glausch Committed by Janosch Frank

KVM: s390: Fix names of skey constants in api documentation

They are defined in include/uapi/linux/kvm.h as
KVM_S390_GET_SKEYS_NONE and KVM_S390_SKEYS_MAX, but the
api documetation talks of KVM_S390_GET_KEYS_NONE and
KVM_S390_SKEYS_ALLOC_MAX respectively.
Signed-off-by: default avatarJanis Schoetterl-Glausch <scgl@linux.ibm.com>
Reviewed-by: default avatarJanosch Frank <frankja@linux.ibm.com>
Message-Id: <20211118102522.569660-1-scgl@linux.ibm.com>
Signed-off-by: default avatarJanosch Frank <frankja@linux.ibm.com>
parent 13605725
...@@ -3701,7 +3701,7 @@ KVM with the currently defined set of flags. ...@@ -3701,7 +3701,7 @@ KVM with the currently defined set of flags.
:Architectures: s390 :Architectures: s390
:Type: vm ioctl :Type: vm ioctl
:Parameters: struct kvm_s390_skeys :Parameters: struct kvm_s390_skeys
:Returns: 0 on success, KVM_S390_GET_KEYS_NONE if guest is not using storage :Returns: 0 on success, KVM_S390_GET_SKEYS_NONE if guest is not using storage
keys, negative value on error keys, negative value on error
This ioctl is used to get guest storage key values on the s390 This ioctl is used to get guest storage key values on the s390
...@@ -3720,7 +3720,7 @@ you want to get. ...@@ -3720,7 +3720,7 @@ you want to get.
The count field is the number of consecutive frames (starting from start_gfn) The count field is the number of consecutive frames (starting from start_gfn)
whose storage keys to get. The count field must be at least 1 and the maximum whose storage keys to get. The count field must be at least 1 and the maximum
allowed value is defined as KVM_S390_SKEYS_ALLOC_MAX. Values outside this range allowed value is defined as KVM_S390_SKEYS_MAX. Values outside this range
will cause the ioctl to return -EINVAL. will cause the ioctl to return -EINVAL.
The skeydata_addr field is the address to a buffer large enough to hold count The skeydata_addr field is the address to a buffer large enough to hold count
...@@ -3744,7 +3744,7 @@ you want to set. ...@@ -3744,7 +3744,7 @@ you want to set.
The count field is the number of consecutive frames (starting from start_gfn) The count field is the number of consecutive frames (starting from start_gfn)
whose storage keys to get. The count field must be at least 1 and the maximum whose storage keys to get. The count field must be at least 1 and the maximum
allowed value is defined as KVM_S390_SKEYS_ALLOC_MAX. Values outside this range allowed value is defined as KVM_S390_SKEYS_MAX. Values outside this range
will cause the ioctl to return -EINVAL. will cause the ioctl to return -EINVAL.
The skeydata_addr field is the address to a buffer containing count bytes of The skeydata_addr field is the address to a buffer containing count bytes of
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment