libkrun icon indicating copy to clipboard operation
libkrun copied to clipboard

Make krun_start_enter error when root directory does not exist

Open mtjhrc opened this issue 2 years ago • 3 comments

Previously krun_start_enter would succeed and the guest kernel would just panic. The root filesystem directory was opened lazily when the guest kernel used fuse init opcode. This commit changes it so the root directory is opened when creating the fs device.

This only fixes it on Linux, but not in the macOS implementation.

mtjhrc avatar Oct 25 '23 08:10 mtjhrc

@slp I fixed it in the macOS implementation too. I don't know if it works, but it compiles with cargo build --target aarch64-apple-darwin.

mtjhrc avatar Nov 01 '23 13:11 mtjhrc

Pipeline fails because of clippy issue fixed (separately) both in #148 and #149.

mtjhrc avatar Nov 29 '23 16:11 mtjhrc