KVM: remove Kconfig symbol KVM_VFIO?
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
Paolo Bonzini
maintainerIl 23/09/2014 21:09, Paul Bolle ha scritto:
Quoted 9 lines
Will,
Your commit
80ce1639727e("KVM: VFIO: registerkvm_device_opsdynamically") is included in linux-next since next-20140918. It removes the last usage ofCONFIG_KVM_VFIO. After that commit settingKVM_VFIOis pointless.Is the patch to remove the
KconfigsymbolKVM_VFIOfrom 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
PATCH 1/1 KVM: Remove KVM_VFIO
There are no checks for CONFIG_KVM_VFIO and nothing depends on KVM_VFIO. Setting KVM_VFIO has no effect. Remove that Kconfig symbol.
---
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(-)
arch/x86/kvm/Kconfig +0 -1
@@ -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
virt/kvm/Kconfig +0 -3
@@ -34,6 +34,3 @@ config HAVE_KVM_MSI config HAVE_KVM_CPU_RELAX_INTERCEPT bool - -config KVM_VFIO - bool
Signature · 1 line
1.9.3
Paolo Bonzini
maintainerRe: [PATCH] [next-20140923] KVM: Remove KVM_VFIO
Il 24/09/2014 10:22, Paul Bolle ha scritto:
Quoted 8 lines
There are no checks for
CONFIG_KVM_VFIOand nothing depends onKVM_VFIO. SettingKVM_VFIOhas no effect. Remove thatKconfigsymbol.Signed-off-by Paul Bolle <[email protected]>---
I choose not to mention commit80ce1639727e("KVM: VFIO: registerkvm_device_opsdynamically") 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