• E
    conf: move volume structs to util/ · 2a4fd228
    Eric Blake 提交于
    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: NEric Blake <eblake@redhat.com>
    2a4fd228
storage_conf.h 17.8 KB