vmsilo/.gitignore
Davíð Steinn Geirsson 1a529c7b27 Refactor crosvm options to use attrset-based configuration
Replace string-based crosvm options with structured attrsets that are
converted to crosvm argument strings using helper functions. This provides
a more consistent and extensible pattern for configuring VM options.

Changes:
- gpu: string -> bool | attrset (false=disabled, true=default, attrset=custom)
- sound: bool|string -> bool | attrset (same pattern as gpu)
- sharedDirectories: list of strings -> list of attrsets with path, tag, and kv pairs
- pciDevices: list of BDF strings -> list of attrsets with path and optional kv pairs
- additionalDisks: custom submodule -> free-form attrset (field names match crosvm)
- rootDisk: custom submodule -> free-form attrset (used as-is when set)
- vhostUserNet -> renamed to vhostUser with type field for --vhost-user

Add formatKVArgs and formatPositionalKVArgs helper functions for building
crosvm argument strings from attrsets with configurable separators.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-07 22:54:03 +00:00

4 lines
36 B
Text

result
qvm-start-*
.worktrees
*.swp