Re: [libvirt] [PATCH] qemu: Error out if setting vcpu count would lead to invalid config

2016-04-28 Thread Peter Krempa
On Wed, Apr 27, 2016 at 17:36:06 +0200, Martin Kletzander wrote: > On Wed, Apr 27, 2016 at 04:48:43PM +0200, Peter Krempa wrote: > >When the domain definition describes a machine with NUMA, setting the > >maximum vCPU count via the API might lead to an invalid config. > > > >Add a check that will f

Re: [libvirt] [PATCH] qemu: Error out if setting vcpu count would lead to invalid config

2016-04-27 Thread Martin Kletzander
On Wed, Apr 27, 2016 at 04:48:43PM +0200, Peter Krempa wrote: When the domain definition describes a machine with NUMA, setting the maximum vCPU count via the API might lead to an invalid config. Add a check that will forbid this until we add more advanced cpu config capabilities. Resolves: htt

[libvirt] [PATCH] qemu: Error out if setting vcpu count would lead to invalid config

2016-04-27 Thread Peter Krempa
When the domain definition describes a machine with NUMA, setting the maximum vCPU count via the API might lead to an invalid config. Add a check that will forbid this until we add more advanced cpu config capabilities. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1327499 --- src/libvir