mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-09 23:10:08 +00:00
90521d0754
Similarly to how we store gluster names, split the name into a pool and image portions when paring the XML and store them separately.
34 lines
1.1 KiB
XML
34 lines
1.1 KiB
XML
<domainsnapshot>
|
|
<name>my snap name</name>
|
|
<description>!@#$%^</description>
|
|
<disks>
|
|
<disk name='/dev/HostVG/QEMUGuest1'/>
|
|
<disk name='hdb' snapshot='no'/>
|
|
<disk name='hdc' snapshot='internal'/>
|
|
<disk name='hdd' snapshot='external' type='file'>
|
|
<driver type='qed'/>
|
|
</disk>
|
|
<disk name='hde' snapshot='external' type='file'>
|
|
<source file='/path/to/new'/>
|
|
</disk>
|
|
<disk name='hde' snapshot='external' type='file'>
|
|
<source file='/path/to/new2'/>
|
|
</disk>
|
|
<disk name='hdf' snapshot='external' type='block'>
|
|
<source dev='/path/to/new3'/>
|
|
</disk>
|
|
<disk name='hdg' snapshot='external' type='network'>
|
|
<source protocol='gluster' name='volume/path'>
|
|
<host name='host' port='1234'/>
|
|
</source>
|
|
</disk>
|
|
<disk name='hdh' snapshot='external' type='network'>
|
|
<source protocol='rbd' name='vol/name'>
|
|
<host name='host' port='1234'/>
|
|
<host name='host2' port='1234' transport='rdma'/>
|
|
<host name='host3' port='1234'/>
|
|
</source>
|
|
</disk>
|
|
</disks>
|
|
</domainsnapshot>
|