]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: storage: Drop pointless 'enabled' form PR definition
authorPeter Krempa <pkrempa@redhat.com>
Fri, 11 May 2018 13:50:57 +0000 (15:50 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 16 May 2018 04:32:28 +0000 (06:32 +0200)
commite72b3f0bbee40017fa010e5c2db4f56d5b5ce6c2
treec80ce7848b40de44ef44e2fff6d0945b7b31ab39
parent1efda367654ddbeb9016075376f74a2efeed43e9
util: storage: Drop pointless 'enabled' form PR definition

Everything can be disabled by not using the parent element. There's no
need to store this explicitly. Additionally it does not add any value
since any configuration is dropped if enabled='no' is configured.

Drop the attribute and adjust the code accordingly.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
docs/formatdomain.html.in
docs/schemas/storagecommon.rng
src/util/virstoragefile.c
src/util/virstoragefile.h
tests/qemuxml2argvdata/disk-virtio-scsi-reservations.xml