42-archive/unikernel-demo
Louis Solofrizzo 6a1c3734e6 fs: Add stat example
Signed-off-by: Louis Solofrizzo <lsolofrizzo@online.net>
2019-04-25 11:30:39 +02:00
..
fs1 fs: Add stat example 2019-04-25 11:30:39 +02:00
io1/printf io1: Add printf examples 2019-04-24 12:08:25 +02:00
network1 network1 2019-04-23 22:05:13 +02:00
.gitignore build: New makefiles and stdio example 2019-04-24 08:31:17 +02:00
Makefile Makefile: Enable ukl-hybrid mode by default for examples 2019-04-25 09:35:10 +02:00
README.md build: New makefiles and stdio example 2019-04-24 08:31:17 +02:00

unikernel-demo

setup

Requirements
  • qemu
  • debootstrap
Clone & Configure the kernel
git clone https://github.com/ne02ptzero/whiterose
cd whiterose && make defconfig

It will apply the default of the linux kernel, with UKL support. If you're trying to run this on exotic hardware, now is a good time to change the configuration. As long as you keep CONFIG_UKL_LINUX to true, you should be fine.

Clone && Running the examples
git clone https://github.com/jzck/unikernel-demo
cd unikernel-demo

Each example come with a Makefile. For example, if you want to run the unistd example, simply do:

make -C fs1/unistd all qemu

Or stdio:

make -C fs1/stdio all qemu