Skip to content
Commit c4bdf94f authored by Jinank Jain's avatar Jinank Jain Committed by Wei Liu
Browse files

x86/hyperv: Add support for detecting nested hypervisor



Detect if Linux is running as a nested hypervisor in the root
partition for Microsoft Hypervisor, using flags provided by MSHV.
Expose a new variable hv_nested that is used later for decisions
specific to the nested use case.

Signed-off-by: default avatarJinank Jain <jinankjain@linux.microsoft.com>
Reviewed-by: default avatarMichael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/8e3e7112806e81d2292a66a56fe547162754ecea.1672639707.git.jinankjain@linux.microsoft.com
Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
parent b7bfaa76
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment