Re: [PATCH v2 1/7] hyperv: Detect Nested virtualization support for SVM

2021-04-16 Thread Vineeth Pillai
It may make sense to expand this a bit as it is probably unclear how the change is related to SVM. Something like: HYPERV_CPUID_NESTED_FEATURES CPUID leaf can be present on both Intel and AMD Hyper-V guests. Previously, the code was using HV_X64_ENLIGHTENED_VMCS_RECOMMENDED feature bit to

Re: [PATCH v2 1/7] hyperv: Detect Nested virtualization support for SVM

2021-04-16 Thread Vitaly Kuznetsov
Vineeth Pillai writes: > Detect nested features exposed by Hyper-V if SVM is enabled. > It may make sense to expand this a bit as it is probably unclear how the change is related to SVM. Something like: HYPERV_CPUID_NESTED_FEATURES CPUID leaf can be present on both Intel and AMD Hyper-V

[PATCH v2 1/7] hyperv: Detect Nested virtualization support for SVM

2021-04-15 Thread Vineeth Pillai
Detect nested features exposed by Hyper-V if SVM is enabled. Signed-off-by: Vineeth Pillai --- arch/x86/kernel/cpu/mshyperv.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshyperv.c index