libvirt/tests/storagevolxml2xmlout
Peter Krempa 6423e30828 virStorageVolDefFormat: Don't format empty <source>
If there are no source extents the volume XML has an empty <source>
element. Remove it if there's nothing in it by using
virXMLFormatElement.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2021-03-01 15:44:47 +01:00
..
vol-file-backing.xml
vol-file-iso.xml
vol-file-naming.xml
vol-file.xml
vol-gluster-dir-neg-uid.xml
vol-gluster-dir.xml
vol-logical-backing.xml
vol-logical.xml
vol-luks-cipher.xml
vol-luks.xml
vol-partition.xml
vol-qcow2-0.10-lazy.xml
vol-qcow2-1.1.xml
vol-qcow2-encryption.xml
vol-qcow2-lazy.xml
vol-qcow2-luks.xml
vol-qcow2-nobacking.xml
vol-qcow2-nocapacity.xml
vol-qcow2-nocow.xml
vol-qcow2.xml
vol-sheepdog.xml