KVM: Change non-existent ioctl comment "KVM_CREATE_MEMORY_REGION" to "KVM_SET_MEMORY_REGION"
PATCH 1/1 KVM: Change non-existent ioctl comment "KVM_CREATE_MEMORY_REGION" to "KVM_SET_MEMORY_REGION"
ioctl "KVM_CREATE_MEMORY_REGION" doesn't exist and should be "KVM_SET_MEMORY_REGION", change the comment.
No functional change intended.
Signed-off-by Lei Wang <[email protected]>
--- include/uapi/linux/kvm.h | 2 +- tools/include/uapi/linux/kvm.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
include/uapi/linux/kvm.h +1 -1
@@ -86,7 +86,7 @@ struct kvm_debug_guest {/* *** End of deprecated interfaces *** */ -/* for KVM_CREATE_MEMORY_REGION */ +/* for KVM_SET_MEMORY_REGION */ struct kvm_memory_region {__u32 slot;__u32 flags;
tools/include/uapi/linux/kvm.h +1 -1
@@ -86,7 +86,7 @@ struct kvm_debug_guest {/* *** End of deprecated interfaces *** */ -/* for KVM_CREATE_MEMORY_REGION */ +/* for KVM_SET_MEMORY_REGION */ struct kvm_memory_region {__u32 slot;__u32 flags;
Signature · 1 line
2.34.1
Sean Christopherson
reviewerQuoted 2 lines · Lei Wang
ioctl "
KVM_CREATE_MEMORY_REGION" doesn't exist and should be "KVM_SET_MEMORY_REGION", change the comment.
Heh, no need, KVM_SET_MEMORY_REGION will soon not exist either.
Quoted 7 lines · Sean Christopherson
Quoted 2 lines · Lei Wang
ioctl "
KVM_CREATE_MEMORY_REGION" doesn't exist and should be "KVM_SET_MEMORY_REGION", change the comment.Heh, no need,
KVM_SET_MEMORY_REGIONwill soon not exist either.
Oh, didn't notice that, thanks!