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

Re: [Minios-devel] [UNIKRAFT PATCH v2 0/6] Move VFS initialization to ukboot



Hi Simon,

We clearly need to come up with a solution for initializing filesystems.
However, these series have to be reworked:
1. You should add your changes once.
2. We should add this init thing in vfscore instead of bloating the
boot.c code.

Cheers,
Costin

On 9/6/19 3:03 PM, Simon Kuenzer wrote:
> This patch series moves mounting filesystems as part of the Unikraft
> initialization to lib/ukboot. This will later simplify adding more features
> to the automount code because it is at a single place (e.g., loading initrd
> as root filesystem, enable mounting 9pfs shares as root mountpoint).
> 
> Previously, the option to automatically mount a ramfs to / was hidden.
> It only appeared when devfs was selected. This series is also making devfs
> and ramfs permanently visible in the menu to simplify the usage.
> 
> Changes since v1:
>  - Adopt to latest staging state
>  - Add ability to configure root fs with kernel parameters
> 
> Simon Kuenzer (6):
>   lib/ukboot: Application constructors right before calling application
>   lib/devfs, lib/ukboot: Move option to automatically mount root to
>     libukboot
>   lib/ukboot: devfs automount option
>   lib/ramfs: Config.uk: Use select for dependency
>   lib/ukswrand: Clean-up: devfs nodes are independent of MWC algorithm
>   lib/ukboot: Root filesystem as library parameter
> 
>  lib/devfs/Config.uk               |   8 +--
>  lib/devfs/devfs_vnops.c           |  25 --------
>  lib/ramfs/Config.uk               |   2 +-
>  lib/ukboot/Config.uk              |  29 +++++++++
>  lib/ukboot/Makefile.uk            |   3 +
>  lib/ukboot/boot.c                 | 102 +++++++++++++++++++++++-------
>  lib/ukswrand/Config.uk            |   5 +-
>  lib/ukswrand/Makefile.uk          |   6 +-
>  lib/ukswrand/{mwc_dev.c => dev.c} |  26 +++++---
>  9 files changed, 134 insertions(+), 72 deletions(-)
>  rename lib/ukswrand/{mwc_dev.c => dev.c} (83%)
> 

_______________________________________________
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®.