lkml.org 
[lkml]   [2022]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 4/5] hv: Enable vmbus driver for nested root partition
    Date
    Currently VMBus driver is not initialized for root partition but we need
    to enable the VMBus driver for nested root partition. This is required
    to expose VMBus devices to the L2 guest in the nested setup.

    Signed-off-by: Jinank Jain <jinankjain@linux.microsoft.com>
    ---
    drivers/hv/vmbus_drv.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
    index 8b2e413bf19c..2f0cf75e811b 100644
    --- a/drivers/hv/vmbus_drv.c
    +++ b/drivers/hv/vmbus_drv.c
    @@ -2723,7 +2723,7 @@ static int __init hv_acpi_init(void)
    if (!hv_is_hyperv_initialized())
    return -ENODEV;

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

    /*
    --
    2.25.1
    \
     
     \ /
      Last update: 2022-11-02 17:43    [W:3.296 / U:0.996 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site