containers / krunvm

Create microVMs from OCI images
Apache License 2.0
1.44k stars 43 forks source link

krunvm start fails with no message #62

Open RossComputerGuy opened 6 months ago

RossComputerGuy commented 6 months ago

On NixOS 24.05 after fixing libkrunfw to use the kernel config on the system, everything builds fine. Got a basic policy for buildah which allows everything. krunvm create works, though krunvm start does not.

# krunvm start asahi-krun
FAIL: 1

# krunvm start asahi-krun
FAIL: 130

I've seen both errno 1 and 130 but no logs and no indication something is bad. I can run the VM manually with buildah but that is not ideal when I am trying to recreate Using microVMs for Gaming on Fedora Asahi but under NixOS.

slp commented 6 months ago

For that use case, we're pivoting from krunvm to krun.

Could you please give it a try and see if it works for you? If it doesn't, please run it after exporting RUST_LOG=debug and paste the output on an issue on that project.