summaryrefslogtreecommitdiff
path: root/include/hyperv
diff options
context:
space:
mode:
authorMuminul Islam <muislam@microsoft.com>2026-02-18 14:47:59 +0000
committerWei Liu <wei.liu@kernel.org>2026-02-18 23:53:22 +0000
commita284dbc96a47891a7a595a1c81b1e2da4d309cf6 (patch)
tree0ed815b1739d920114794d6becaf541c9b4131fe /include/hyperv
parent30d25a8fc04cf1806c09362616e861d6fd339f98 (diff)
mshv: Add nested virtualization creation flag
Introduce HV_PARTITION_CREATION_FLAG_NESTED_VIRTUALIZATION_CAPABLE to indicate support for nested virtualization during partition creation. This enables clearer configuration and capability checks for nested virtualization scenarios. Signed-off-by: Stanislav Kinsburskii <skinsburskii@linux.microsoft.com> Signed-off-by: Muminul Islam <muislam@microsoft.com> Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'include/hyperv')
-rw-r--r--include/hyperv/hvhdk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hyperv/hvhdk.h b/include/hyperv/hvhdk.h
index 79d1f16a850a..f139c7c5bb2d 100644
--- a/include/hyperv/hvhdk.h
+++ b/include/hyperv/hvhdk.h
@@ -335,6 +335,7 @@ union hv_partition_isolation_properties {
#define HV_PARTITION_ISOLATION_HOST_TYPE_RESERVED 0x2
/* Note: Exo partition is enabled by default */
+#define HV_PARTITION_CREATION_FLAG_NESTED_VIRTUALIZATION_CAPABLE BIT(1)
#define HV_PARTITION_CREATION_FLAG_GPA_SUPER_PAGES_ENABLED BIT(4)
#define HV_PARTITION_CREATION_FLAG_EXO_PARTITION BIT(8)
#define HV_PARTITION_CREATION_FLAG_LAPIC_ENABLED BIT(13)