Commit 7a79311b authored by Stefan Lankes's avatar Stefan Lankes
Browse files

add CI tests for Qemu's micorvm

Qemu's microvm is a machine type inspired by Firecracker
and constructed after its machine model

more information are published at https://qemu.readthedocs.io/en/latest/system/i386/microvm.html
parent 5502a684
......@@ -85,3 +85,10 @@ jobs:
-cpu qemu64,apic,fsgsbase,rdtscp,xsave,xsaveopt,fxsr \
-kernel loader/target/x86_64-unknown-hermit-loader/release/rusty-loader \
-initrd target/x86_64-unknown-hermit/release/rusty_demo
- name: Build minimal profile
run: |
cargo clean
cargo --no-default-features --release -p hello_world
- name: Test minimal profile
run: |
qemu-system-x86_64 -M microvm,x-option-roms=off,pit=off,pic=off,rtc=on -global virtio-mmio.force-legacy=on -nodefaults -no-user-config -display none -smp 1 -m 64M -serial stdio -kernel loader/target/x86_64-unknown-hermit-loader/release/rusty-loader -initrd target/x86_64-unknown-hermit/release/hello_world -cpu qemu64,apic,fsgsbase,rdtscp,xsave,xsaveopt,fxsr
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment