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

2015-10-19 Thread Jan Beulich
The symbol was missing a KVM dependency.

Signed-off-by: Jan Beulich 
---
 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



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


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

2015-10-19 Thread Paolo Bonzini


On 19/10/2015 12:37, Jan Beulich wrote:
> The symbol was missing a KVM dependency.
> 
> Signed-off-by: Jan Beulich 
> ---
>  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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html