mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-15 23:24:27 +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.
12 lines
363 B
XML
12 lines
363 B
XML
<on_reboot>restart</on_reboot>
|
|
<on_crash>restart</on_crash>
|
|
<pm>
|
|
- <suspend-to-mem enabled="no"/>
|
|
+ <suspend-to-mem enabled="yes"/>
|
|
+ <suspend-to-disk enabled="no"/>
|
|
</pm>
|
|
<devices>
|
|
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
|
|
|
|
Domain 'test-many-devices' defined successfully.
|
|
Changes will take effect after the next domain shutdown. |