Re: [libvirt] [PATCH 11/24] conf: numa: Refactor logic in virDomainNumatuneParseXML

2015-02-20 Thread Peter Krempa
On Thu, Feb 19, 2015 at 17:25:13 -0500, John Ferlan wrote: > > > On 02/16/2015 01:51 PM, Peter Krempa wrote: > > Shuffling around the logic will allow to simplify the code quite a bit. > > As an additional bonus the change in the logic now reports an error if > > automatic placement is selected a

Re: [libvirt] [PATCH 11/24] conf: numa: Refactor logic in virDomainNumatuneParseXML

2015-02-19 Thread John Ferlan
On 02/16/2015 01:51 PM, Peter Krempa wrote: > Shuffling around the logic will allow to simplify the code quite a bit. > As an additional bonus the change in the logic now reports an error if > automatic placement is selected and individual placement is configured. > --- > src/conf/numa_conf.c |

[libvirt] [PATCH 11/24] conf: numa: Refactor logic in virDomainNumatuneParseXML

2015-02-16 Thread Peter Krempa
Shuffling around the logic will allow to simplify the code quite a bit. As an additional bonus the change in the logic now reports an error if automatic placement is selected and individual placement is configured. --- src/conf/numa_conf.c | 53 +---