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

[Minios-devel] [UNIKRAFT PATCH v4 0/5] VFS initialization to vfscore



This patch series moves mounting the root filesystem structure to Unikraft
init table calls. The main root filesystem is mounted with lib/vfscore and
library parameters are available to influence the rootfs mount behavior
from the kernel command line.

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

Chances since v2:
 - Move rootfs code to vfscore
   (this implied also the change of the series title)
 - Integrate to init table mechanism
 - Bugfix: mount never fails when fsname is wrong
 - Add compiler flag to ignore warnings caused by VFS stubs

Chances since v3:
 - Use menu instead of menuconfig to for vfscore library. This
   is done to avoid misplacement of depending filesystems into
   the library submenu
 - Remove suppressed warning on `incompatible function pointer
   typecast` for the pipe.c file in vfscore. This is going to
   be covered by the library-wide warning suppression.

Simon Kuenzer (5):
  lib/vfscore, lib/*fs: Ignore incompatible function pointer typecast
  lib/vfscore: fs_getfs(): Return NULL on failed lookup
  lib/vfscore: Automount option
  lib/devfs: Automount through inittab
  lib/ukswrand: Clean-up devfs integration

 lib/9pfs/Makefile.uk              |  2 +
 lib/devfs/Config.uk               |  9 +--
 lib/devfs/Makefile.uk             |  2 +
 lib/devfs/devfs_vnops.c           | 34 ++++++-----
 lib/devfs/include/devfs/device.h  |  9 +++
 lib/ramfs/Makefile.uk             |  2 +
 lib/ukswrand/Config.uk            |  5 +-
 lib/ukswrand/Makefile.uk          |  4 +-
 lib/ukswrand/{mwc_dev.c => dev.c} | 23 ++++++--
 lib/vfscore/Config.uk             | 81 +++++++++++++++++++++++++-
 lib/vfscore/Makefile.uk           |  8 ++-
 lib/vfscore/mount.c               | 13 +++--
 lib/vfscore/rootfs.c              | 97 +++++++++++++++++++++++++++++++
 13 files changed, 252 insertions(+), 37 deletions(-)
 rename lib/ukswrand/{mwc_dev.c => dev.c} (89%)
 create mode 100644 lib/vfscore/rootfs.c

-- 
2.20.1


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