-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
This part of the docs in the README seems to be outdated:
For 9pfs, also make sure that you configured vfscore to automatically mount a host shared filesystem: Under Library Configuration -> vfscore: Configuration select Automatically mount a root filesystem, set Default root filesystem to 9PFS, and ensure that Default root device is to fs0. This last option simplifies the use of the -e parameter of qemu-guest.
It seems to me that the quote refers to configuration options for vfscore
that were replaced by this commit: a3b1eee
With the current version of Unikraft, the following steps allow booting the elfloader with the example/helloworld
app again:
git clone https://github.com/unikraft/app-elfloader elfloader && cd elfloader && ./scripts/setup.sh
cd example/helloworld/ && make helloworld
- Set up the
rootfs/
matching theldd
output for thehelloworld
binary (as described in the README, except I also add an/etc
directory) UK_DEFCONFIG=$(pwd)/defconfigs/qemu-x86_64-9pfs make defconfig
- Configure
Library Configuration
->vfscore
->Compiled-in filesystem table
->Configuration
and pick9PFS
make -j$(nproc)
./workdir/unikraft/support/scripts/qemu-guest -k workdir/build/elfloader_qemu-x86_64 -e rootfs/ -a "/helloworld"
Booting from ROM..Powered by
o. .o _ _ __ _
Oo Oo ___ (_) | __ __ __ _ ' _) :_
oO oO ' _ `| | |/ / _)' _` | |_| _)
oOo oOO| | | | | (| | | (_) | _) :_
OoOoO ._, ._:_:_,\_._, .__,_:_, \___)
Calypso 0.17.0~0502e190-custom
Hello world!
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status
Status
No status