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 virStorageVolDefFormat: Don't format empty <source> 2021-03-01 15:44:47 +01:00
vol-file-iso.xml virStorageVolDefFormat: Don't format empty <source> 2021-03-01 15:44:47 +01:00
vol-file-naming.xml virStorageVolDefFormat: Don't format empty <source> 2021-03-01 15:44:47 +01:00
vol-file.xml virStorageVolDefFormat: Don't format empty <source> 2021-03-01 15:44:47 +01:00
vol-gluster-dir-neg-uid.xml virStorageVolDefFormat: Don't format empty <source> 2021-03-01 15:44:47 +01:00
vol-gluster-dir.xml virStorageVolDefFormat: Don't format empty <source> 2021-03-01 15:44:47 +01:00
vol-logical-backing.xml virStorageVolDefFormat: Don't format empty <source> 2021-03-01 15:44:47 +01:00
vol-logical.xml virStorageVolDefFormat: Don't format empty <source> 2021-03-01 15:44:47 +01:00
vol-luks-cipher.xml virStorageVolDefFormat: Don't format empty <source> 2021-03-01 15:44:47 +01:00
vol-luks.xml virStorageVolDefFormat: Don't format empty <source> 2021-03-01 15:44:47 +01:00
vol-partition.xml virStorageVolDefFormat: Don't format empty <source> 2021-03-01 15:44:47 +01:00
vol-qcow2-0.10-lazy.xml virStorageVolDefFormat: Don't format empty <source> 2021-03-01 15:44:47 +01:00
vol-qcow2-1.1.xml virStorageVolDefFormat: Don't format empty <source> 2021-03-01 15:44:47 +01:00
vol-qcow2-encryption.xml virStorageVolDefFormat: Don't format empty <source> 2021-03-01 15:44:47 +01:00
vol-qcow2-lazy.xml virStorageVolDefFormat: Don't format empty <source> 2021-03-01 15:44:47 +01:00
vol-qcow2-luks.xml virStorageVolDefFormat: Don't format empty <source> 2021-03-01 15:44:47 +01:00
vol-qcow2-nobacking.xml virStorageVolDefFormat: Don't format empty <source> 2021-03-01 15:44:47 +01:00
vol-qcow2-nocapacity.xml virStorageVolDefFormat: Don't format empty <source> 2021-03-01 15:44:47 +01:00
vol-qcow2-nocow.xml
vol-qcow2.xml virStorageVolDefFormat: Don't format empty <source> 2021-03-01 15:44:47 +01:00
vol-sheepdog.xml virStorageVolDefFormat: Don't format empty <source> 2021-03-01 15:44:47 +01:00