Skip to content
Snippets Groups Projects
Select Git revision
  • gh-readonly-queue/main/pr-432-8189d1320478bdf3c1ab47ad1f90409f9be921d5
  • main default
  • ovmf_prebuilt
  • gh-readonly-queue/main/pr-429-fae9aadfa66598e3b89a499e0bea5df57b9eacee
  • gh-readonly-queue/main/pr-430-67d788ea8618690225d6033bc8ddc168a6c7d55a
  • gh-readonly-queue/main/pr-431-43bfa8fc202e4c0c11cd41563dc9320d77d61daf
  • ubuntu-24.04
  • dependabot/cargo/log-0.4.25
  • dependabot/cargo/hermit-entry-0.10.2
  • citations
  • gh-readonly-queue/main/pr-426-4489ece02844e9a6c7bbad5692e94a9598afe44a
  • gh-readonly-queue/main/pr-427-7e9d8087f8bb36fbe6e912a0684a4f6398f13817
  • clippy-unnecessary_map_or
  • dependabot/cargo/clap-4.5.26
  • gh-readonly-queue/main/pr-424-daee083e36d4d23d54e0f9d115f8ecd0c1a9968f
  • dependabot/cargo/goblin-0.9.3
  • gh-readonly-queue/main/pr-423-e1053ac76d16d82497817706652cec3bde6ab5c8
  • dependabot/cargo/sysinfo-0.33.1
  • gh-readonly-queue/main/pr-422-587068cabdd63a2e11378acdae36fea89871c99b
  • dependabot/cargo/anyhow-1.0.95
  • v0.5.4
  • v0.5.3
  • v0.5.2
  • v0.5.1
  • v0.5.0
  • v0.4.6
  • v0.4.5
  • v0.4.4
  • v0.4.3
  • v0.4.2
  • v0.4.1
  • v0.4.0
  • v0.3.1
  • v0.3.0
  • v0.2.6
35 results

loader

  • Clone with SSH
  • Clone with HTTPS
  • rusty-loader

    rusty-loader is a loader to run RustyHermit within Qemu. To build the loader the llvm-tools and the source code of Rust's runtime are required and can be installed with following command:

    $ rustup component add rust-src
    $ rustup component add llvm-tools-preview

    You also need nasm and ar installed on your machine.

    Afterwards, the loader can be build as follows:

    $ make

    Afterwards, the loader is stored in target/x86_64-unknown-hermit-loader/debug/ as rusty-loader. As final step the unikernel application app can be booted with following command:

    $ qemu-system-x86_64 -display none -smp 1 -m 64M -serial stdio  -kernel path_to_loader/rusty-loader -initrd path_to_app/app -cpu qemu64,apic,fsgsbase,rdtscp,xsave,fxsr

    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.