Allow vmz run without initrd #40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex-fix-run-without-initrd"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #18.
Summary:
VMZConfig.initrd_pathnullable and documentNULLas booting without an initrd.VZLinuxBootLoader.initialRamdiskURLunset when no initrd is provided.vmz.Config.initrd_pathoptional and pass null through the C bridge.--initrdinvmz run; updaterun --helptext.Verification:
nix develop --command zig fmt src/vmz.zig src/cmd_run.zignix develop --command zig build./zig-out/bin/vmz run --kernel /tmp/vmz-missing-kernel --no-raw-terminalnow reaches VM startup/configuration handling instead of returningInvalidArguments../zig-out/bin/vmz run --help./zig-out/bin/vmz runstill reportsInvalidArgumentswhen--kernelis missing.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.