All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] KVM: Change non-existent ioctl comment "KVM_CREATE_MEMORY_REGION" to "KVM_SET_MEMORY_REGION"
@ 2022-11-30  6:43 Lei Wang
  2022-11-30 15:36 ` Sean Christopherson
  0 siblings, 1 reply; 3+ messages in thread
From: Lei Wang @ 2022-11-30  6:43 UTC (permalink / raw)
  To: kvm; +Cc: pbonzini, seanjc

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(-)

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] KVM: Change non-existent ioctl comment "KVM_CREATE_MEMORY_REGION" to "KVM_SET_MEMORY_REGION"
  2022-11-30  6:43 [PATCH] KVM: Change non-existent ioctl comment "KVM_CREATE_MEMORY_REGION" to "KVM_SET_MEMORY_REGION" Lei Wang
@ 2022-11-30 15:36 ` Sean Christopherson
  2022-12-01  1:01   ` Wang, Lei
  0 siblings, 1 reply; 3+ messages in thread
From: Sean Christopherson @ 2022-11-30 15:36 UTC (permalink / raw)
  To: Lei Wang; +Cc: kvm, pbonzini

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] KVM: Change non-existent ioctl comment "KVM_CREATE_MEMORY_REGION" to "KVM_SET_MEMORY_REGION"
  2022-11-30 15:36 ` Sean Christopherson
@ 2022-12-01  1:01   ` Wang, Lei
  0 siblings, 0 replies; 3+ messages in thread
From: Wang, Lei @ 2022-12-01  1:01 UTC (permalink / raw)
  To: Sean Christopherson; +Cc: kvm, pbonzini

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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-01  1:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-30  6:43 [PATCH] KVM: Change non-existent ioctl comment "KVM_CREATE_MEMORY_REGION" to "KVM_SET_MEMORY_REGION" Lei Wang
2022-11-30 15:36 ` Sean Christopherson
2022-12-01  1:01   ` Wang, Lei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.