Re: [libvirt] [PATCH 2/5] qemu: domain: Extract parsing and formatting of priv->autoNodeset

2017-07-20 Thread Andrea Bolognani
On Wed, 2017-07-12 at 15:44 +0200, Peter Krempa wrote: >  static int > +qemuDomainObjPrivateXMLParseAutomaticPlacement(virQEMUDriverPtr driver, > +   qemuDomainObjPrivatePtr priv, > +   xmlXPathContextPtr ctxt)

[libvirt] [PATCH 2/5] qemu: domain: Extract parsing and formatting of priv->autoNodeset

2017-07-12 Thread Peter Krempa
Move the code to separate functions to avoid complicating the existing ones with changes. --- src/qemu/qemu_domain.c | 84 +++--- 1 file changed, 60 insertions(+), 24 deletions(-) diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index 6772f1