Open mikatammi opened 1 year ago
I fear I broke your great aarch64-linux work. If you require something useable right now then use tag v0.3.3
.
By now, the bootDisk is only required for the hypervisors that cannot load initrds by themselves. Namely: cloud-hypervisor. Their solution is https://github.com/cloud-hypervisor/rust-hypervisor-firmware which I packaged in time for nixos-23.05.
I used the last stable release 0.4.2 which supports only x86_64-linux. I had trouble packaging an unstable version but we shall try again because it brings support for aarch64 and riscv64.
Do the other hypervisors work for you? They shouldn't require the bootDisk to be built.
I have to double check this because looks like with latest versions the builds work again, but I haven't tested the functionality
My build is only using QEMU at the moment, didn't try other hypervisors yet
https://github.com/astro/microvm.nix/commit/708f09d5a093af670aa4a7ae4d9d0b0a10f31276 I guess this commit fixes this issue for other hypervisors than cloud-hypervisor
Since 4f752aec0f666f86fa2b82ba7e5540a687ceeabe we no longer require x86_64-only rust-hypervisor-firmware again.
I have a hydra setup which is building microvms. What I see is in log:
I have waited for days and it never gets past the "Creating EFI partition" step.
With ps ax on the builder machine I can see qemu-kvm that has been running for a long time.
I'd need to add some debug prints or something to see what is the actual command after "Creating EFI partition" that is taking so long.
This only seems to appear on aarch64-linux targets and not x86_64-linux