microvm.nix
microvm.nix copied to clipboard
NixOS MicroVMs
Because gpu hot plugging between the host and guest vms is not always possible and given microvm allows for the guest nixOS to be very integrated with the host nixOS,...
The VM squashfs always gets built twice. First when building the host, which has something like `microvm.vms.foo.flake = self;` and then a second time when updating the vm on the...
When trying to use a writeableStoreOverlay I get errors like: `error: chmod '/nix/store/as1xzrm2921pnxx4jvxj39jn4v88wdy1-gcc-11.3.0': Function not implemented`. Any idea why that is happening?
Since `/etc/ssh/` is on the tmpfs, the VM generates a new ssh key-pair every time is gets rebooted. I tried to create a virtiofsd share for `/etc/ssh` to keep the...
Currently when the VMs initialize during system startup, they may fail because some bridges created by `systemd-networkd` may be not available yet: ``` Jun 29 13:44:30 vm systemd[1]: Starting MicroVM...
One day I would like to rewrite the `microvm` command in Rust with improved arguments parsing. Leave your UX ideas here! The current user interface looks like this: ``` Usage:...
I am unable to use a writable store when using shares, the documentation states that the path at `microvm.writableStoreOverlay` must be writable, and #20 mentions that this should work with...
KSM seems like a sensible feature to save memory when running many MicroVMs. Yet I get zero shared pages with both QEMU and Cloud-Hypervisor.
https://github.com/Mic92/vmsh