On 04/02/14 05:04, Eric Blake wrote:
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(a)redhat.com>
---
src/conf/storage_conf.h | 23 +----------------------
src/util/virstoragefile.c | 7 +++++++
src/util/virstoragefile.h | 25 +++++++++++++++++++++++++
3 files changed, 33 insertions(+), 22 deletions(-)
ACK
Peter