Re: [PATCH 6/8] x86: add MULTIUSER dependency for KVM

From: Radim KrÄmÃÅ
Date: Wed Jul 19 2017 - 10:12:12 EST


2017-07-19 14:53+0200, Arnd Bergmann:
> KVM tries to select 'TASKSTATS', which had additional dependencies:
>
> warning: (KVM) selects TASKSTATS which has unmet direct dependencies (NET && MULTIUSER)
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---

Hm, do you know why Kconfig warns instead of propagating the
dependencies?

> diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig
> @@ -22,7 +22,7 @@ config KVM
> # for TASKSTATS/TASK_DELAY_ACCT:
> - depends on NET
> + depends on NET && MULTIUSER

The current condition goes halfway to nowhere, so the patch is
definitely an improvement, even if the result is not good ...

Applied, thanks.