mirror of https://gitee.com/openkylin/libvirt.git
1458b2e963
Take advantage of the previous patch's addition of 'netdir' as a distinct volume type, to expose rather than silently skip directories embedded in a gluster pool. Also serves as an XML validation for the previous patch. * src/storage/storage_backend_gluster.c (virStorageBackendGlusterRefreshVol): Don't skip directories. * tests/storagevolxml2xmltest.c (mymain): Add test. * tests/storagevolxml2xmlin/vol-gluster-dir.xml: New file. * tests/storagevolxml2xmlout/vol-gluster-dir.xml: Likewise. Signed-off-by: Eric Blake <eblake@redhat.com> |
||
---|---|---|
.. | ||
vol-file-backing.xml | ||
vol-file-naming.xml | ||
vol-file.xml | ||
vol-gluster-dir.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 |