On Sun, 18 Mar 2018, Thomas Gleixner wrote:
> On Fri, 16 Mar 2018, Vitaly Kuznetsov wrote:
> >
> > + if (ms_hyperv.hints & HV_X64_ENLIGHTENED_VMCS_RECOMMENDED)
> > + ms_hyperv.nested_features =
> > + cpuid_eax(HYPERV_CPUID_NESTED_FEATURES);
>
> Please add curly bra
On Fri, 16 Mar 2018, Vitaly Kuznetsov wrote:
>
> + if (ms_hyperv.hints & HV_X64_ENLIGHTENED_VMCS_RECOMMENDED)
> + ms_hyperv.nested_features =
> + cpuid_eax(HYPERV_CPUID_NESTED_FEATURES);
Please add curly braces. Rationale:
https://marc.info/?l=linux-ke
TLFS 5.0 says: "Support for an enlightened VMCS interface is reported with
CPUID leaf 0x4004. If an enlightened VMCS interface is supported,
additional nested enlightenments may be discovered by reading the CPUID
leaf 0x400A (see 2.4.11)."
Signed-off-by: Vitaly Kuznetsov
Reviewed-by: Mic
3 matches
Mail list logo