mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
7c2d65dde2
The XML parser sets a default <mode> if none is explicitly passed in. This is then used at pool/vol creation time, and unconditionally reported in the XML. The problem with this approach is that it's impossible for other code to determine if the user explicitly requested a storage mode. There are some cases where we want to make this distinction, but we currently can't. Handle <mode> parsing like we handle <owner>/<group>: if no value is passed in, set it to -1, and adjust the internal consumers to handle it. |
||
---|---|---|
.. | ||
pool-dir-naming.xml | ||
pool-dir.xml | ||
pool-disk.xml | ||
pool-fs.xml | ||
pool-gluster-sub.xml | ||
pool-gluster.xml | ||
pool-iscsi-auth.xml | ||
pool-iscsi-multiiqn.xml | ||
pool-iscsi-vendor-product.xml | ||
pool-iscsi.xml | ||
pool-logical-create.xml | ||
pool-logical-nopath.xml | ||
pool-logical.xml | ||
pool-mpath.xml | ||
pool-netfs-gluster.xml | ||
pool-netfs.xml | ||
pool-rbd.xml | ||
pool-scsi-type-fc-host-managed.xml | ||
pool-scsi-type-fc-host.xml | ||
pool-scsi-type-scsi-host-stable.xml | ||
pool-scsi-type-scsi-host.xml | ||
pool-scsi.xml | ||
pool-sheepdog.xml | ||
pool-zfs-sourcedev.xml | ||
pool-zfs.xml |