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 <lei4.wang@xxxxxxxxx> --- include/uapi/linux/kvm.h | 2 +- tools/include/uapi/linux/kvm.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index 0d5d4419139a..b1918e6a7f38 100644 --- a/include/uapi/linux/kvm.h +++ b/include/uapi/linux/kvm.h @@ -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; diff --git a/tools/include/uapi/linux/kvm.h b/tools/include/uapi/linux/kvm.h index 0d5d4419139a..b1918e6a7f38 100644 --- a/tools/include/uapi/linux/kvm.h +++ b/tools/include/uapi/linux/kvm.h @@ -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; -- 2.34.1