Skip to content

Add XML generator to create libvirt domain XML from CLI options#90

Draft
dupremathieu wants to merge 1 commit into
seapath:mainfrom
dupremathieu:xml-generator
Draft

Add XML generator to create libvirt domain XML from CLI options#90
dupremathieu wants to merge 1 commit into
seapath:mainfrom
dupremathieu:xml-generator

Conversation

@dupremathieu
Copy link
Copy Markdown
Member

Make --xml optional in vm-mgr create. When omitted, XML is generated from new CLI flags (--vcpus, --memory, --cpuset, --rt, --hugepages, --balloon, --vnc, --secure-boot, --net, etc.), removing the need for a pre-existing XML file. This unblocks the Cockpit webui to pass individual VM parameters directly via the CLI.

@dupremathieu dupremathieu requested a review from eroussy April 27, 2026 20:06
Make --xml optional in `vm-mgr create`. When omitted, XML is generated
from new CLI flags (--vcpus, --memory, --cpuset, --rt, --hugepages,
--balloon, --vnc, --secure-boot, --net, etc.), removing the need for
a pre-existing XML file. This unblocks the Cockpit webui to pass
individual VM parameters directly via the CLI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Mathieu Dupré <mathieu.dupre@savoirfairelinux.com>
@dupremathieu dupremathieu marked this pull request as draft May 4, 2026 08:14
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 4, 2026

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