mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-25 06:03:55 +03:00
0b4a72fd77
We totally break CLI compat here, but the previous tool wasn't sustainable. Instead, repurpose the tool as strictly converting external formats like ovf/vmx to native libvirt XML, and launch the guest. So we drop vmx/virt-image output, and virt-image input, and a slew of command line options. I don't think anyone was depending on this in a scripted fashion, so in practice I don't think anyone will care. Add much more comprehensive unit tests while we are at it.
18 lines
448 B
XML
18 lines
448 B
XML
<domain type="test">
|
|
<name>test</name>
|
|
<uuid>4a64cc71-19c4-2fd0-2323-3050941ea3c3</uuid>
|
|
<memory unit="KiB">8388608</memory>
|
|
<currentMemory unit="KiB">2097152</currentMemory>
|
|
<vcpu placement="static">7</vcpu>
|
|
<os>
|
|
<type arch="i686">hvm</type>
|
|
<boot dev="hd"/>
|
|
</os>
|
|
<clock offset="utc"/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
</devices>
|
|
</domain>
|