mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +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.
35 lines
1.1 KiB
XML
35 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'>
|
|
<source/>
|
|
<driver type='qed'/>
|
|
</disk>
|
|
<disk name='hde' snapshot='external'>
|
|
<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>
|