How devcarson88888/qemubox works
QemuBox is a native desktop control panel for local QEMU virtual machines and remote libvirt hosts. Its principal workflow is to configure or create a VM, save its definition, then start or stop it and inspect its status. The application also supports importing JSON definitions and a separate SSH-based remote-management workflow. The sampled implementation is a single large Rust source file, so several responsibilities map to that same path; the README documents major capabilities, while the excerpts show only selected UI and remote-command behavior.
Main entry points: main.rs Home screen
Components 16
Workstation UI
- Home screen
src/main.rs - VM editor
src/main.rs - Typical wizard
src/main.rs - Custom wizard
src/main.rs
Local VM Management
- VM library
src/main.rs - JSON import
src/main.rs - VM settings store
src/main.rs - Disk options
src/main.rs
Local Runtime
- VM controls
src/main.rs - QEMU process
- qemu-img
Remote Management
- Remote profiles
src/main.rs - Remote console
src/main.rs - OpenSSH
- Remote libvirt
Other components
- User
Connections 20
- User → Home screen: uses
README.md - Home screen → VM editor: opens
README.md - VM editor → VM settings store: saves settings
README.md - Home screen → VM library: opens
README.md - VM library → VM editor: configures
README.md - VM library → JSON import: imports definition
README.md - JSON import → VM settings store: saves definition
README.md - VM editor → Disk options: sets disk format
README.md - Home screen → Typical wizard: creates VM
README.md - Typical wizard → qemu-img: creates disk
README.md - Home screen → Custom wizard: creates VM
README.md - Custom wizard → VM settings store: saves definition
README.md - VM library → VM controls: starts or stops
README.md - VM controls → VM settings store: uses saved settings
README.md - VM controls → QEMU process: manages process
README.md - QEMU process → VM controls: reports status
README.md - Home screen → Remote console: opens
README.md - Remote console → Remote profiles: stores profiles
README.md - Remote console → OpenSSH: runs commands
src/main.rs - OpenSSH → Remote libvirt: invokes virsh
README.md