Message ID | 20221130064325.386359-1-lei4.wang@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | KVM: Change non-existent ioctl comment "KVM_CREATE_MEMORY_REGION" to "KVM_SET_MEMORY_REGION" | expand |
On Tue, Nov 29, 2022, Lei Wang wrote: > 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. https://lore.kernel.org/all/Y4T+SY9SZIRFBdBM@google.com
On 11/30/2022 11:36 PM, Sean Christopherson wrote: > On Tue, Nov 29, 2022, Lei Wang wrote: >> 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. > > https://lore.kernel.org/all/Y4T+SY9SZIRFBdBM@google.com Oh, didn't notice that, thanks!
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;
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@intel.com> --- include/uapi/linux/kvm.h | 2 +- tools/include/uapi/linux/kvm.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)