Skip to content

Add raw disk/window-size options and harden VM launch scripts#57

Open
HenriqueCrj wants to merge 10 commits into
mroboff:mainfrom
HenriqueCrj:main
Open

Add raw disk/window-size options and harden VM launch scripts#57
HenriqueCrj wants to merge 10 commits into
mroboff:mainfrom
HenriqueCrj:main

Conversation

@HenriqueCrj

Copy link
Copy Markdown

Summary

  • Add qcow2/raw disk format selection to the VM creation wizard, including .raw/.img file browser support.
  • Preserve detected raw/qcow2 formats when reusing existing disks or importing VMs, and generate matching qemu-img/QEMU disk format arguments.
  • Add a default_window_size setting that passes WIDTHxHEIGHT into generated/supported launch scripts.
  • Harden launch script persistence for shared folders, USB passthrough, and UEFI virtio disk boot priority.

Testing

  • cargo test

This pr that I made only includes the first topic of this summary.
#55

HenriqueCrj and others added 10 commits June 26, 2026 19:40
Add qcow2/raw format selection to the VM creation wizard.

Create raw disk images through qemu-img and generate launch scripts with the matching QEMU disk format.

Detect and preserve raw/qcow2 formats when using existing disks or importing VMs, with tests covering creation, import, and format parsing.
Support raw disk image creation and import
Add a default_window_size setting that serializes as WIDTHxHEIGHT and can be edited from the settings screen.

Pass the configured size into VM launches via VM_CURATOR_WINDOW_SIZE and update generated launch scripts to apply supported VGA/device xres/yres overrides at runtime.

Patch supported existing launch scripts on launch, keep unsupported or mixed video setups unchanged, and cover the parser, config, UI, script generation, and lifecycle behavior with tests.
Add configurable VM window size override
Fix launch argument persistence and UEFI disk boot priority
# Conflicts:
#	src/ui/mod.rs
#	src/ui/screens/shared_folders.rs
#	src/vm/create.rs
#	src/vm/single_gpu_scripts.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant