Re: [PATCH 2/5] virCPUDefParseXML: Prefer virXMLPropUInt over virXPathUInt

2021-09-30 Thread Peter Krempa
On Tue, Sep 21, 2021 at 16:50:28 +0200, Michal Privoznik wrote: > When parsing CPU topology, which is described in > attributes we can use virXMLPropUInt() instead of virXPathUInt() > as the former results in shorter code. > > Signed-off-by: Michal Privoznik > --- > src/conf/cpu_conf.c | 41

[PATCH 2/5] virCPUDefParseXML: Prefer virXMLPropUInt over virXPathUInt

2021-09-21 Thread Michal Privoznik
When parsing CPU topology, which is described in attributes we can use virXMLPropUInt() instead of virXPathUInt() as the former results in shorter code. Signed-off-by: Michal Privoznik --- src/conf/cpu_conf.c | 41 ++--- 1 file changed, 18 insertions(+), 23