KVM: s390: Fix names of skey constants in api documentation
Subsystems (2)
PATCH 1/1 KVM: s390: Fix names of skey constants in api documentation
The 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.
--- Documentation/virt/kvm/api.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/virt/kvm/api.rst +3 -3
@@ -3701,7 +3701,7 @@ KVM with the currently defined set of flags. :Architectures: s390 :Type: vm ioctl :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 This ioctl is used to get guest storage key values on the s390
@@ -3720,7 +3720,7 @@ you want to get. 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 -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. The skeydata_addr field is the address to a buffer large enough to hold count
@@ -3744,7 +3744,7 @@ you want to set. 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 -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. The skeydata_addr field is the address to a buffer containing count bytes of
Signature · 1 line
2.25.1
Quoted 1 line · Janis Schoetterl-Glausch
The are defined in
include/uapi/linux/kvm.has
s/The/They/
I can fix that up when picking if you want.
Quoted 5 lines
KVM_S390_GET_SKEYS_NONEandKVM_S390_SKEYS_MAX, but the api documetation talks ofKVM_S390_GET_KEYS_NONEandKVM_S390_SKEYS_ALLOC_MAXrespectively.Signed-off-by Janis Schoetterl-Glausch <[email protected]>
Thanks for fixing this up.
Quoted 36 lines
--- Documentation/virt/kvm/api.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)Documentation/virt/kvm/api.rst +3
-3@@ -3701,7 +3701,7 @@ KVM with the currently defined set of flags. :Architectures: s390 :Type: vm ioctl :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 This ioctl is used to get guest storage key values on the s390@@ -3720,7 +3720,7 @@ you want to get. 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 -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. The skeydata_addr field is the address to a buffer large enough to hold count@@ -3744,7 +3744,7 @@ you want to set. 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 -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. The skeydata_addr field is the address to a buffer containing count bytes of
Quoted 6 lines · Janosch Frank
Quoted 1 line · Janis Schoetterl-Glausch
The are defined in
include/uapi/linux/kvm.hass/The/They/
I can fix that up when picking if you want.
Thanks, please do.
Quoted 43 lines
Quoted 6 lines
KVM_S390_GET_SKEYS_NONEandKVM_S390_SKEYS_MAX, but the api documetation talks ofKVM_S390_GET_KEYS_NONEandKVM_S390_SKEYS_ALLOC_MAXrespectively.Signed-off-by Janis Schoetterl-Glausch <[email protected]>Thanks for fixing this up.
Reviewed-by Janosch Frank <[email protected]>Quoted 31 lines
---
Documentation/virt/kvm/api.rst| 6 +++---1 file changed, 3 insertions(+), 3 deletions(-)Documentation/virt/kvm/api.rst +0
-0@@ -3701,7 +3701,7 @@ KVM with the currently defined set of flags.:Architectures: s390
:Type: vm ioctl
:Parameters: structkvm_s390_skeys
-:Returns: 0 on success,KVM_S390_GET_KEYS_NONEif guest is not using storage +:Returns: 0 on success,KVM_S390_GET_SKEYS_NONEif guest is not using storage keys, negative value on error
This ioctl is used to get guest storage key values on the s390Documentation/virt/kvm/api.rst +0
-0@@ -3720,7 +3720,7 @@ you want to get. 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
Documentation/virt/kvm/api.rst +1
-1-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 rangewill cause the ioctl to return
-EINVAL.
Theskeydata_addrfield is the address to a buffer large enough to hold countDocumentation/virt/kvm/api.rst +0
-0@@ -3744,7 +3744,7 @@ you want to set. 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
Documentation/virt/kvm/api.rst +1
-1-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 rangewill cause the ioctl to return
-EINVAL.
Theskeydata_addrfield is the address to a buffer containing count bytes of
Quoted 17 lines · Janis Schoetterl-Glausch
Quoted 6 lines · Janosch Frank
Quoted 1 line · Janis Schoetterl-Glausch
The are defined in
include/uapi/linux/kvm.hass/The/They/
I can fix that up when picking if you want.
Thanks, please do.
Quoted 8 lines
Quoted 6 lines
KVM_S390_GET_SKEYS_NONEandKVM_S390_SKEYS_MAX, but the api documetation talks ofKVM_S390_GET_KEYS_NONEandKVM_S390_SKEYS_ALLOC_MAXrespectively.Signed-off-by Janis Schoetterl-Glausch <[email protected]>Thanks for fixing this up.
Thanks, picked
Quoted 36 lines
Quoted 35 lines
Reviewed-by Janosch Frank <[email protected]>Quoted 31 lines
--- Documentation/virt/kvm/api.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)Documentation/virt/kvm/api.rst +3
-3@@ -3701,7 +3701,7 @@ KVM with the currently defined set of flags. :Architectures: s390 :Type: vm ioctl :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 This ioctl is used to get guest storage key values on the s390@@ -3720,7 +3720,7 @@ you want to get. 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 -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. The skeydata_addr field is the address to a buffer large enough to hold count@@ -3744,7 +3744,7 @@ you want to set. 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 -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. The skeydata_addr field is the address to a buffer containing count bytes of