Skip to content

Bootloader for the unikernel RustyHermit

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

mkroening/rusty-loader

 
 

Repository files navigation

rusty-loader

rusty-loader is a loader to run RustyHermit within Qemu.

Requirements

Building

$ cargo xtask build --arch x86_64

Afterwards, the loader is located at target/x86_64/debug/rusty-loader.

Running

Boot a hermit application:

qemu-system-x86_64 -smp 1 \
    -cpu qemu64,apic,fsgsbase,rdtscp,xsave,xsaveopt,fxsr \
    -device isa-debug-exit,iobase=0xf4,iosize=0x04 \
    -display none -m 64M -serial stdio -enable-kvm \
    -kernel path_to_loader/rusty-loader \
    -initrd path_to_app/app

It is important to enable the processor features fsgsbase and rdtscp because it is a prerequisite to boot RustyHermit.

Please read the README of RustyHermit for more information.

License

Licensed under either of

at your option.

About

Bootloader for the unikernel RustyHermit

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 87.0%
  • Assembly 11.7%
  • Dockerfile 1.3%