[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT PATCH] lib/vfscore: Make (default) rootdev parameter available for 9PFS



Hi Simon, this patch looks good. 

Reviewed-by: Felipe Huici <felipe.huici@xxxxxxxxx>

On 09.10.19, 15:32, "Minios-devel on behalf of Simon Kuenzer" 
<minios-devel-bounces@xxxxxxxxxxxxxxxxxxxx on behalf of 
simon.kuenzer@xxxxxxxxx> wrote:

    Provide the rootdev parameter for 9PFS in the vfscore automount
    submenu. 9PFS is using the rootdev parameter as name tag for the
    shared host filesystem. We set the default value to "rootfs".
    
    Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>
    ---
     lib/vfscore/Config.uk | 6 ++++--
     1 file changed, 4 insertions(+), 2 deletions(-)
    
    diff --git a/lib/vfscore/Config.uk b/lib/vfscore/Config.uk
    index 527922da..6a0f09dc 100644
    --- a/lib/vfscore/Config.uk
    +++ b/lib/vfscore/Config.uk
    @@ -66,10 +66,12 @@ if LIBVFSCORE_AUTOMOUNT_ROOTFS
        # The root device option is hidden for RamFS and 9PFS
        config LIBVFSCORE_ROOTDEV
        string "Default root device"
    -   depends on !LIBVFSCORE_ROOTFS_RAMFS && !LIBVFSCORE_ROOTFS_9PFS
    +   depends on !LIBVFSCORE_ROOTFS_RAMFS
    +   default "rootfs" if LIBVFSCORE_ROOTFS_9PFS
        default ""
        help
    -           Device to mount the filesystem from. Depending on the
    +           Device to mount the filesystem from (e.g., on 9PFS this
    +           is the name of the shared filesystem). Depending on the
                selected filesystem, this option may not be required.
     
        # The root flags is hidden for RamFS
    -- 
    2.20.1
    
    
    _______________________________________________
    Minios-devel mailing list
    Minios-devel@xxxxxxxxxxxxxxxxxxxx
    https://lists.xenproject.org/mailman/listinfo/minios-devel

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.