Re: [PATCH master 3/3] Fix KVM pinning tests to not depend on the local machine

2016-06-10 Thread 'Viktor Bachraty' via ganeti-devel
On Fri, Jun 10, 2016 at 10:02 AM, Iustin Pop wrote: > 2016-06-10 10:58 GMT+02:00 Viktor Bachraty : > >> >> On Thu, Jun 9, 2016 at 11:33 PM, Iustin Pop wrote: >> >>> From: Iustin Pop >>> >>> Commit 8b2ec2f added

Re: [PATCH master 3/3] Fix KVM pinning tests to not depend on the local machine

2016-06-10 Thread 'Iustin Pop' via ganeti-devel
2016-06-10 10:58 GMT+02:00 Viktor Bachraty : > > On Thu, Jun 9, 2016 at 11:33 PM, Iustin Pop wrote: > >> From: Iustin Pop >> >> Commit 8b2ec2f added unittests for KVM pinning, but it introduced a >> non-obvious >> local dependency in

Re: [PATCH master 3/3] Fix KVM pinning tests to not depend on the local machine

2016-06-10 Thread 'Viktor Bachraty' via ganeti-devel
On Thu, Jun 9, 2016 at 11:33 PM, Iustin Pop wrote: > From: Iustin Pop > > Commit 8b2ec2f added unittests for KVM pinning, but it introduced a > non-obvious > local dependency in the tests: the CPU_PINNING_OFF calls work by looking > at the > (current)

[PATCH master 3/3] Fix KVM pinning tests to not depend on the local machine

2016-06-09 Thread Iustin Pop
From: Iustin Pop Commit 8b2ec2f added unittests for KVM pinning, but it introduced a non-obvious local dependency in the tests: the CPU_PINNING_OFF calls work by looking at the (current) machine's core count, and pinning to all those CPUs. In order to make this work