Skip to content

Commit 8536290

Browse files
Jinank Jainliuw
authored andcommitted
Drivers: hv: Enable vmbus driver for nested root partition
Currently VMBus driver is not initialized for root partition but we need to enable the VMBus driver for nested root partition. This is required, so that L2 root can use the VMBus devices. Signed-off-by: Jinank Jain <[email protected]> Reviewed-by: Michael Kelley <[email protected]> Link: https://lore.kernel.org/r/c3cdd2cf2bffeba388688640eb61bc182e4c041d.1672639707.git.jinankjain@linux.microsoft.com Signed-off-by: Wei Liu <[email protected]>
1 parent f0d2f5c commit 8536290

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hv/vmbus_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2744,7 +2744,7 @@ static int __init hv_acpi_init(void)
27442744
if (!hv_is_hyperv_initialized())
27452745
return -ENODEV;
27462746

2747-
if (hv_root_partition)
2747+
if (hv_root_partition && !hv_nested)
27482748
return 0;
27492749

27502750
/*

0 commit comments

Comments
 (0)