All of lore.kernel.org
 help / color / mirror / Atom feed
* KVM: remove Kconfig symbol KVM_VFIO?
@ 2014-09-23 19:09 Paul Bolle
  2014-09-23 20:29 ` Paolo Bonzini
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Bolle @ 2014-09-23 19:09 UTC (permalink / raw)
  To: Will Deacon; +Cc: Alex Williamson, Paolo Bonzini, Gleb Natapov, kvm

Will,

Your commit 80ce1639727e ("KVM: VFIO: register kvm_device_ops
dynamically") is included in linux-next since next-20140918. It removes
the last usage of CONFIG_KVM_VFIO. After that commit setting KVM_VFIO is
pointless.

Is the patch to remove the Kconfig symbol KVM_VFIO from the tree queued
somewhere? If not, should I submit a trivial patch that does that?


Paul Bolle


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

* Re: KVM: remove Kconfig symbol KVM_VFIO?
  2014-09-23 19:09 KVM: remove Kconfig symbol KVM_VFIO? Paul Bolle
@ 2014-09-23 20:29 ` Paolo Bonzini
  2014-09-24  8:22   ` [PATCH] [next-20140923] KVM: Remove KVM_VFIO Paul Bolle
  0 siblings, 1 reply; 4+ messages in thread
From: Paolo Bonzini @ 2014-09-23 20:29 UTC (permalink / raw)
  To: Paul Bolle, Will Deacon; +Cc: Alex Williamson, Gleb Natapov, kvm

Il 23/09/2014 21:09, Paul Bolle ha scritto:
> Will,
> 
> Your commit 80ce1639727e ("KVM: VFIO: register kvm_device_ops
> dynamically") is included in linux-next since next-20140918. It removes
> the last usage of CONFIG_KVM_VFIO. After that commit setting KVM_VFIO is
> pointless.
> 
> Is the patch to remove the Kconfig symbol KVM_VFIO from the tree queued
> somewhere? If not, should I submit a trivial patch that does that?

No, if you send that yourself it will be appreciated.  Thanks!

Paolo


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

* [PATCH] [next-20140923] KVM: Remove KVM_VFIO
  2014-09-23 20:29 ` Paolo Bonzini
@ 2014-09-24  8:22   ` Paul Bolle
  2014-09-24  9:45     ` Paolo Bonzini
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Bolle @ 2014-09-24  8:22 UTC (permalink / raw)
  To: Gleb Natapov, Paolo Bonzini, Thomas Gleixner, Ingo Molnar,
	H. Peter Anvin
  Cc: Will Deacon, Alex Williamson, kvm, x86, linux-kernel

There are no checks for CONFIG_KVM_VFIO and nothing depends on KVM_VFIO.
Setting KVM_VFIO has no effect. Remove that Kconfig symbol.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
I choose not to mention commit 80ce1639727e ("KVM: VFIO: register
kvm_device_ops dynamically") as references to linux-next commits might
go stale and only confuse future readers.

Done on top of next-21040923. Tested with "git grep" only.

 arch/x86/kvm/Kconfig | 1 -
 virt/kvm/Kconfig     | 3 ---
 2 files changed, 4 deletions(-)

diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig
index f9d16ff56c6b..178d872734b1 100644
--- a/arch/x86/kvm/Kconfig
+++ b/arch/x86/kvm/Kconfig
@@ -39,7 +39,6 @@ config KVM
 	select PERF_EVENTS
 	select HAVE_KVM_MSI
 	select HAVE_KVM_CPU_RELAX_INTERCEPT
-	select KVM_VFIO
 	---help---
 	  Support hosting fully virtualized guest machines using hardware
 	  virtualization extensions.  You will need a fairly recent
diff --git a/virt/kvm/Kconfig b/virt/kvm/Kconfig
index fc0c5e603eb4..1f5ebc4693c3 100644
--- a/virt/kvm/Kconfig
+++ b/virt/kvm/Kconfig
@@ -34,6 +34,3 @@ config HAVE_KVM_MSI
 
 config HAVE_KVM_CPU_RELAX_INTERCEPT
        bool
-
-config KVM_VFIO
-       bool
-- 
1.9.3


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

* Re: [PATCH] [next-20140923] KVM: Remove KVM_VFIO
  2014-09-24  8:22   ` [PATCH] [next-20140923] KVM: Remove KVM_VFIO Paul Bolle
@ 2014-09-24  9:45     ` Paolo Bonzini
  0 siblings, 0 replies; 4+ messages in thread
From: Paolo Bonzini @ 2014-09-24  9:45 UTC (permalink / raw)
  To: Paul Bolle, Gleb Natapov, Thomas Gleixner, Ingo Molnar, H. Peter Anvin
  Cc: Will Deacon, Alex Williamson, kvm, x86, linux-kernel

Il 24/09/2014 10:22, Paul Bolle ha scritto:
> There are no checks for CONFIG_KVM_VFIO and nothing depends on KVM_VFIO.
> Setting KVM_VFIO has no effect. Remove that Kconfig symbol.
> 
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
> ---
> I choose not to mention commit 80ce1639727e ("KVM: VFIO: register
> kvm_device_ops dynamically") as references to linux-next commits might
> go stale and only confuse future readers.

In the case of KVM, linux-commit hashes are substantially stable.  I'll
add back the reference.

Thanks for the patch, I'll apply it.

Paolo

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

end of thread, other threads:[~2014-09-24  9:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-23 19:09 KVM: remove Kconfig symbol KVM_VFIO? Paul Bolle
2014-09-23 20:29 ` Paolo Bonzini
2014-09-24  8:22   ` [PATCH] [next-20140923] KVM: Remove KVM_VFIO Paul Bolle
2014-09-24  9:45     ` Paolo Bonzini

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.