Re: [PATCH v5 01/10] x86/hyper-v: include hyperv/ only when CONFIG_HYPERV is set

2017-05-31 Thread Andy Shevchenko
On Wed, May 31, 2017 at 5:37 PM, Vitaly Kuznetsov wrote: >>> # Hyper-V paravirtualization support >>> -obj-$(CONFIG_HYPERVISOR_GUEST) += hyperv/ >>> +ifdef CONFIG_HYPERV >>> +obj-y += hyperv/ >>> +endif >> >> Can >> obj-$(CONFIG_HYPERV) += hyperv/ >> work for you instead? >> > > CONFIG_HYPERV ca

Re: [PATCH v5 01/10] x86/hyper-v: include hyperv/ only when CONFIG_HYPERV is set

2017-05-31 Thread Vitaly Kuznetsov
Andy Shevchenko writes: > On Tue, May 30, 2017 at 2:34 PM, Vitaly Kuznetsov wrote: >> Code is arch/x86/hyperv/ is only needed when CONFIG_HYPERV is set, the >> 'basic' support and detection lives in arch/x86/kernel/cpu/mshyperv.c >> which is included when CONFIG_HYPERVISOR_GUEST is set. >> >> Si

Re: [PATCH v5 01/10] x86/hyper-v: include hyperv/ only when CONFIG_HYPERV is set

2017-05-30 Thread Andy Shevchenko
On Tue, May 30, 2017 at 2:34 PM, Vitaly Kuznetsov wrote: > Code is arch/x86/hyperv/ is only needed when CONFIG_HYPERV is set, the > 'basic' support and detection lives in arch/x86/kernel/cpu/mshyperv.c > which is included when CONFIG_HYPERVISOR_GUEST is set. > > Signed-off-by: Vitaly Kuznetsov >

[PATCH v5 01/10] x86/hyper-v: include hyperv/ only when CONFIG_HYPERV is set

2017-05-30 Thread Vitaly Kuznetsov
Code is arch/x86/hyperv/ is only needed when CONFIG_HYPERV is set, the 'basic' support and detection lives in arch/x86/kernel/cpu/mshyperv.c which is included when CONFIG_HYPERVISOR_GUEST is set. Signed-off-by: Vitaly Kuznetsov Acked-by: K. Y. Srinivasan Tested-by: Simon Xiao Tested-by: Srikant