Re: [libvirt] [PATCH 16/18] cpu: Parse and use PVR masks in the ppc64 driver

2015-08-06 Thread Andrea Bolognani
On Thu, 2015-08-06 at 16:42 +0200, Jiri Denemark wrote: > > > @@ -364,6 +358,24 @@ ppc64ModelLoad(xmlXPathContextPtr ctxt, > > model->data->pvr[i].value = pvr; > > > > VIR_FREE(prop); > > + > > +if (!(prop = virXMLPropString(nodes[i], "mask"))) { > > +virRep

Re: [libvirt] [PATCH 16/18] cpu: Parse and use PVR masks in the ppc64 driver

2015-08-06 Thread Jiri Denemark
On Tue, Aug 04, 2015 at 11:38:07 +0200, Andrea Bolognani wrote: > Instead of relying on a hard-coded mask value, read it from the CPU > map XML and use it when looking up models by PVR. > > Rewrite ppc64DriverNodeData() to use this feature. > --- > src/cpu/cpu_ppc64.c | 74 > +++

[libvirt] [PATCH 16/18] cpu: Parse and use PVR masks in the ppc64 driver

2015-08-04 Thread Andrea Bolognani
Instead of relying on a hard-coded mask value, read it from the CPU map XML and use it when looking up models by PVR. Rewrite ppc64DriverNodeData() to use this feature. --- src/cpu/cpu_ppc64.c | 74 src/cpu/cpu_ppc64_data.h | 1 + 2 files cha