Re: [libvirt] [PATCH] qemu_driver: fix setting vcpus for offline domain

2015-01-14 Thread Peter Krempa
On Tue, Jan 13, 2015 at 02:46:03PM +0100, Pavel Hrdina wrote: Commit e3435caf fixed hot-plugging of vcpus with strict memory pinning on NUMA hosts, but unfortunately it also broke updating number of vcpus for offline guests using our API. The issue is that we try to create a cpu cgroup for

Re: [libvirt] [PATCH] qemu_driver: fix setting vcpus for offline domain

2015-01-14 Thread Pavel Hrdina
On 01/14/2015 10:23 AM, Peter Krempa wrote: On Tue, Jan 13, 2015 at 02:46:03PM +0100, Pavel Hrdina wrote: Commit e3435caf fixed hot-plugging of vcpus with strict memory pinning on NUMA hosts, but unfortunately it also broke updating number of vcpus for offline guests using our API. The issue

[libvirt] [PATCH] qemu_driver: fix setting vcpus for offline domain

2015-01-13 Thread Pavel Hrdina
Commit e3435caf fixed hot-plugging of vcpus with strict memory pinning on NUMA hosts, but unfortunately it also broke updating number of vcpus for offline guests using our API. The issue is that we try to create a cpu cgroup for non-running guest which fails as there are no cgroups for that