You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the documentation, an error happens when trying to run my-microvm. If did nix registry add microvm github:astro/microvm.nix, nix flake init -t microvm and then nix run .#my-microvm
$ nix run .#my-microvm warning: Git tree '/home/groulot/infra' is dirty qemu-system-x86_64: -device virtio-rng-pci: No 'PCI' bus found for device 'virtio-rng-pci'
Removing the example 9p share bellow in the flake fixes the error. The MicroVM starts and runs correctly: shares = [ { proto = "9p"; tag = "ro-store"; source = "/nix/store"; mountPoint = "/nix/.ro-store"; } ];
Is there anything I missed that I should have done to make it work ?
The text was updated successfully, but these errors were encountered:
Ouch, that is a consequence of disabling ACPI in c39a472 as required by #171.
Does the machine boot for you if you replace s/acpi=off/acpi=on/ in lib/runners/qemu.nix in your local checkout when running nix with --override-input microvm git+file:///.../microvm.nix?
I run NixOS 23.11 in a virtualbox VM.
Following the documentation, an error happens when trying to run my-microvm. If did
nix registry add microvm github:astro/microvm.nix
,nix flake init -t microvm
and thennix run .#my-microvm
$ nix run .#my-microvm warning: Git tree '/home/groulot/infra' is dirty qemu-system-x86_64: -device virtio-rng-pci: No 'PCI' bus found for device 'virtio-rng-pci'
Removing the example 9p share bellow in the flake fixes the error. The MicroVM starts and runs correctly:
shares = [ { proto = "9p"; tag = "ro-store"; source = "/nix/store"; mountPoint = "/nix/.ro-store"; } ];
Is there anything I missed that I should have done to make it work ?
The text was updated successfully, but these errors were encountered: