On 2/6/19 2:18 PM, Eric Blake wrote: > An upcoming patch wants to reuse XML parsing of both unix and tcp > network host descriptions in the context of setting up a backup > NBD server. Make that easier by refactoring the existing parser. > > Signed-off-by: Eric Blake <eblake@xxxxxxxxxx> > --- > src/conf/domain_conf.h | 2 ++ > src/conf/domain_conf.c | 43 ++++++++++++++++++++-------------------- > src/libvirt_private.syms | 1 + > 3 files changed, 25 insertions(+), 21 deletions(-) > Reviewed-by: John Ferlan <jferlan@xxxxxxxxxx> John