Re: [libvirt] [PATCH 2/4] cpu: push more parsing logic into common code

2018-08-14 Thread Jiri Denemark
On Wed, Aug 01, 2018 at 18:02:30 +0100, Daniel P. Berrangé wrote: > The x86 and ppc impls both duplicate some logic when parsing CPU > features. Change the callback signature so that this duplication can be > pushed up a level to common code. > > Signed-off-by: Daniel P. Berrangé > --- >

Re: [libvirt] [PATCH 2/4] cpu: push more parsing logic into common code

2018-08-14 Thread Jiri Denemark
On Mon, Aug 13, 2018 at 18:27:06 -0400, John Ferlan wrote: > > > On 08/01/2018 01:02 PM, Daniel P. Berrangé wrote: > > The x86 and ppc impls both duplicate some logic when parsing CPU > > features. Change the callback signature so that this duplication can be > > pushed up a level to common

Re: [libvirt] [PATCH 2/4] cpu: push more parsing logic into common code

2018-08-13 Thread John Ferlan
On 08/01/2018 01:02 PM, Daniel P. Berrangé wrote: > The x86 and ppc impls both duplicate some logic when parsing CPU > features. Change the callback signature so that this duplication can be > pushed up a level to common code. > > Signed-off-by: Daniel P. Berrangé > --- > src/cpu/cpu_map.c

[libvirt] [PATCH 2/4] cpu: push more parsing logic into common code

2018-08-05 Thread Daniel P . Berrangé
The x86 and ppc impls both duplicate some logic when parsing CPU features. Change the callback signature so that this duplication can be pushed up a level to common code. Signed-off-by: Daniel P. Berrangé --- src/cpu/cpu_map.c | 106 +++- src/cpu/cpu_map.h | 22 ++---