mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
1b5c8d4cbc
I got annoyed at having to use both 'virsh vol-list $pool --details' AND 'virsh vol-dumpxml $vol $pool' to learn if I had populated the volume correctly. Since two-thirds of the data present in virStorageVolGetInfo() already appears in virStorageVolGetXMLDesc(), this just adds the remaining piece of information, as: <volume type='...'> ... </volume> * docs/formatstorage.html.in: Document new <volume type=...>. * docs/schemas/storagevol.rng (vol): Add it to RelaxNG. * src/conf/storage_conf.h (virStorageVolTypeToString): Declare. * src/conf/storage_conf.c (virStorageVolTargetDefFormat): Output the metatype. (virStorageVolDefParseXML): Parse it, for unit tests. * tests/storagevolxml2xmlout/vol-*.xml: Update tests to match. Signed-off-by: Eric Blake <eblake@redhat.com> |
||
---|---|---|
.. | ||
vol-file-backing.xml | ||
vol-file-naming.xml | ||
vol-file.xml | ||
vol-logical-backing.xml | ||
vol-logical.xml | ||
vol-partition.xml | ||
vol-qcow2-0.10-lazy.xml | ||
vol-qcow2-1.1.xml | ||
vol-qcow2-lazy.xml | ||
vol-qcow2-nobacking.xml | ||
vol-qcow2.xml | ||
vol-sheepdog.xml |