On 03/15/2017 11:37 AM, Peter Krempa wrote:
The function has very specific semantics. Split out the part that
parses
the backing store specification string into a separate helper so that it
can be reused later while keeping the wrapper with existing semantics.
Note that virStorageFileParseChainIndex is pretty well covered by the
test suite.
---
src/libvirt_private.syms | 1 +
src/util/virstoragefile.c | 68 +++++++++++++++++++++++++++++++++++++++--------
src/util/virstoragefile.h | 5 ++++
3 files changed, 63 insertions(+), 11 deletions(-)
ACK
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org