Skip to content

Commit

Permalink
Merge pull request #341 from hermit-os/microvm
Browse files Browse the repository at this point in the history
fix(microvm): explicitly disable ACPI
  • Loading branch information
mkroening authored May 7, 2024
2 parents f78c97d + cc85740 commit 444d38c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ To use this VM type, PCI and ACPI support have to be disabled for your app (usin

```bash
qemu-system-x86_64 ... \
-M microvm,x-option-roms=off,pit=off,pic=off,rtc=on,auto-kernel-cmdline=off \
-M microvm,x-option-roms=off,pit=off,pic=off,rtc=on,auto-kernel-cmdline=off,acpi=off \
-nodefaults -no-user-config \
-append "-freq 2800"
```
Expand Down
3 changes: 2 additions & 1 deletion xtask/src/ci/qemu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ impl Qemu {
let frequency = get_frequency();
vec![
"-M".to_string(),
"microvm,x-option-roms=off,pit=off,pic=off,rtc=on".to_string(),
"microvm,x-option-roms=off,pit=off,pic=off,rtc=on,auto-kernel-cmdline=off,acpi=off"
.to_string(),
"-global".to_string(),
"virtio-mmio.force-legacy=on".to_string(),
"-nodefaults".to_string(),
Expand Down

0 comments on commit 444d38c

Please sign in to comment.