[libvirt] [PATCH] Refactor storage XML parsing to be consistent with domain/network conf.
Daniel P. Berrange
berrange at redhat.com
Fri Jun 19 17:09:43 UTC 2009
On Fri, Jun 19, 2009 at 12:37:11PM -0400, Cole Robinson wrote:
> The storage driver arranges its parsing routines in a way that make them
> difficult to use in the test driver for non-default file parsing. This
> refactoring moves things to be consistent with the way domain_conf and
> network_conf do things.
>
> Signed-off-by: Cole Robinson <crobinso at redhat.com>
> ---
> src/libvirt_private.syms | 8 ++-
> src/storage_conf.c | 163 ++++++++++++++++++++++++++++++++--------------
> src/storage_conf.h | 26 ++++++--
> src/storage_driver.c | 8 +-
> src/test.c | 25 ++-----
> 5 files changed, 150 insertions(+), 80 deletions(-)
ACK, this was on my todo list too.
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list