diff mbox

KVM: don't pointlessly leave KVM_COMPAT=y in non-KVM configs

Message ID 5624E3FE02000078000AC49D@prv-mh.provo.novell.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jan Beulich Oct. 19, 2015, 10:37 a.m. UTC
The symbol was missing a KVM dependency.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
---
 virt/kvm/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Paolo Bonzini Oct. 19, 2015, 10:40 a.m. UTC | #1
On 19/10/2015 12:37, Jan Beulich wrote:
> The symbol was missing a KVM dependency.
> 
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
> ---
>  virt/kvm/Kconfig |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- 4.3-rc6/virt/kvm/Kconfig
> +++ 4.3-rc6-KVM_COMPAT-dependency/virt/kvm/Kconfig
> @@ -46,4 +46,4 @@ config KVM_GENERIC_DIRTYLOG_READ_PROTECT
>  
>  config KVM_COMPAT
>         def_bool y
> -       depends on COMPAT && !S390
> +       depends on KVM && COMPAT && !S390
> 
> 
> 

Thanks, rebased and pushed to kvm/queue.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- 4.3-rc6/virt/kvm/Kconfig
+++ 4.3-rc6-KVM_COMPAT-dependency/virt/kvm/Kconfig
@@ -46,4 +46,4 @@  config KVM_GENERIC_DIRTYLOG_READ_PROTECT
 
 config KVM_COMPAT
        def_bool y
-       depends on COMPAT && !S390
+       depends on KVM && COMPAT && !S390