]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: move volume structs to util/
authorEric Blake <eblake@redhat.com>
Sun, 30 Mar 2014 03:21:06 +0000 (21:21 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 2 Apr 2014 12:03:00 +0000 (06:03 -0600)
commit2a4fd2281edbfca230bf05c9116b2cc6ee7e7ccf
tree95718ac6016705c91f89901959fd53e69c3e2972
parentdae1568c6c6455091e8cd9bc2e90a22af3d3880c
conf: move volume structs to util/

Another step towards unification of structures.  While we might
not expose everything in XML via domain disk as we do for
storage volume pointer, both places want to deal with (at least
part of) the backing chain; therefore, moving towards a single
struct usable from both contexts will make the backing chain
code more reusable.

* src/conf/storage_conf.h (_virStoragePerms)
(virStorageTimestamps): Move...
* src/util/virstoragefile.h: ...here.
(_virStorageSource): Add more fields.
* src/util/virstoragefile.c (virStorageSourceClear): Clean
additional fields.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/conf/storage_conf.h
src/util/virstoragefile.c
src/util/virstoragefile.h