mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-27 03:21:44 +03:00
6043a88a0c
We sort them separately in the snapshot list, explicitly mention that they are 'external', and add a UI field listing the memory/disk details. In general mixing internal and external snapshots is a recipe for confusion and disaster, so I think the best thing to do is at least acknowledge their presence in the UI but not make any attempt to predict what will or will not work.
40 lines
1.1 KiB
XML
40 lines
1.1 KiB
XML
<domainsnapshot>
|
|
<name>name-foo</name>
|
|
<state>somestate</state>
|
|
<description>foo
|
|
newline
|
|
indent</description>
|
|
<parent>
|
|
<name>newparent</name>
|
|
</parent>
|
|
<creationTime>1234</creationTime>
|
|
<memory snapshot="internal"/>
|
|
<disks>
|
|
<disk name="hdb" snapshot="no"/>
|
|
</disks>
|
|
<domain type="test">
|
|
<name>test-internal-snapshots</name>
|
|
<uuid>12345678-1234-fddf-1234-12345678ffff</uuid>
|
|
<memory unit="KiB">409600</memory>
|
|
<currentMemory unit="KiB">409600</currentMemory>
|
|
<vcpu placement="static">1</vcpu>
|
|
<bootloader>/tmp/bootfoo</bootloader>
|
|
<os>
|
|
<type arch="i686">xen</type>
|
|
</os>
|
|
<clock offset="utc"/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<disk type="file" device="disk">
|
|
<source file="/dev/default-pool/test-clone-simple.img"/>
|
|
<target dev="hda" bus="ide"/>
|
|
<address type="drive" controller="0" bus="0" target="0" unit="0"/>
|
|
</disk>
|
|
<controller type="ide" index="0"/>
|
|
</devices>
|
|
</domain>
|
|
<active>0</active>
|
|
</domainsnapshot>
|