diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2018-03-20 15:02:10 +0100 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2018-03-28 22:47:06 +0200 |
commit | 5431390b3039624a371549926f74a1c470b2ecaa (patch) | |
tree | 428d7c84c05c36ff815298634f1dbe2f76fbbd34 /arch/x86/include/asm/mshyperv.h | |
parent | 68d1eb72ee99e26576913aa6824f7a703ca06b90 (diff) | |
download | op-kernel-dev-5431390b3039624a371549926f74a1c470b2ecaa.zip op-kernel-dev-5431390b3039624a371549926f74a1c470b2ecaa.tar.gz |
x86/hyper-v: detect nested features
TLFS 5.0 says: "Support for an enlightened VMCS interface is reported with
CPUID leaf 0x40000004. If an enlightened VMCS interface is supported,
additional nested enlightenments may be discovered by reading the CPUID
leaf 0x4000000A (see 2.4.11)."
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/mshyperv.h')
-rw-r--r-- | arch/x86/include/asm/mshyperv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/mshyperv.h b/arch/x86/include/asm/mshyperv.h index 3f16235..57c6531 100644 --- a/arch/x86/include/asm/mshyperv.h +++ b/arch/x86/include/asm/mshyperv.h @@ -13,6 +13,7 @@ struct ms_hyperv_info { u32 features; u32 misc_features; u32 hints; + u32 nested_features; u32 max_vp_index; u32 max_lp_index; }; |