lkml.org 
[lkml]   [2018]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [less-CONFIG_NET 7/7] kvm: drop CONFIG_NET
From
Date
On 06/06/2018 15:53, Norbert Manthey wrote:
> In some scenarios, we do not want to use CONFIG_NET even though we want
> to use CONFIG_KVM. To get this working, and to not pull in more
> dependencies, we need to disable CONFIG_TASKSTATS as well.
>
> Signed-off-by: Norbert Manthey <nmanthey@amazon.de>
> ---
> arch/x86/kvm/Kconfig | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig
> index 92fd433..f209817 100644
> --- a/arch/x86/kvm/Kconfig
> +++ b/arch/x86/kvm/Kconfig
> @@ -22,8 +22,8 @@ config KVM
> tristate "Kernel-based Virtual Machine (KVM) support"
> depends on HAVE_KVM
> depends on HIGH_RES_TIMERS
> - # for TASKSTATS/TASK_DELAY_ACCT:
> - depends on NET && MULTIUSER
> + # TASK_DELAY_ACCT:
> + depends on MULTIUSER
> depends on X86_LOCAL_APIC
> select PREEMPT_NOTIFIERS
> select MMU_NOTIFIER
> @@ -37,7 +37,6 @@ config KVM
> select KVM_ASYNC_PF
> select USER_RETURN_NOTIFIER
> select KVM_MMIO
> - select TASKSTATS
> select TASK_DELAY_ACCT
> select PERF_EVENTS
> select HAVE_KVM_MSI
>

Assuming it compiles, it looks good. :)

Paolo

\
 
 \ /
  Last update: 2018-06-07 13:20    [W:0.096 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site