Re: [libvirt] [PATCH 4/7] qemu: Fix coldplug of vcpus

2016-09-30 Thread Peter Krempa
On Fri, Sep 30, 2016 at 09:52:08 +0200, Pavel Hrdina wrote: > On Wed, Sep 21, 2016 at 01:49:56PM +0200, Peter Krempa wrote: > > virDomainDefSetVcpus was not designed to handle coldplug of vcpus now > > that we can set state of vcpus individually. > > > > Introduce qemuDomainSetVcpusConfig that pro

Re: [libvirt] [PATCH 4/7] qemu: Fix coldplug of vcpus

2016-09-30 Thread Pavel Hrdina
On Wed, Sep 21, 2016 at 01:49:56PM +0200, Peter Krempa wrote: > virDomainDefSetVcpus was not designed to handle coldplug of vcpus now > that we can set state of vcpus individually. > > Introduce qemuDomainSetVcpusConfig that properly handles state changes > of vcpus when coldplugging so that inval

[libvirt] [PATCH 4/7] qemu: Fix coldplug of vcpus

2016-09-21 Thread Peter Krempa
virDomainDefSetVcpus was not designed to handle coldplug of vcpus now that we can set state of vcpus individually. Introduce qemuDomainSetVcpusConfig that properly handles state changes of vcpus when coldplugging so that invalid configurations are not created. Resolves: https://bugzilla.redhat.co