Re: [libvirt] [PATCH] qemu: don't error out when cgroups don't exist

2014-07-09 Thread Eric Blake
On 07/09/2014 02:15 AM, Martin Kletzander wrote: > When creating cgroups for vcpu and emulator threads whilst starting a > domain, we explicitly skip creating those cgroups in case priv->cgroup > is NULL (cgroups not supported) because SetAffinity() serves the same > purpose. If the host supports

Re: [libvirt] [PATCH] qemu: don't error out when cgroups don't exist

2014-07-09 Thread Ján Tomko
On 07/09/2014 02:30 PM, Martin Kletzander wrote: > On Wed, Jul 09, 2014 at 01:07:47PM +0200, Ján Tomko wrote: >> On 07/09/2014 10:15 AM, Martin Kletzander wrote: >>> When creating cgroups for vcpu and emulator threads whilst starting a >>> domain, we explicitly skip creating those cgroups in case p

Re: [libvirt] [PATCH] qemu: don't error out when cgroups don't exist

2014-07-09 Thread Martin Kletzander
On Wed, Jul 09, 2014 at 01:07:47PM +0200, Ján Tomko wrote: On 07/09/2014 10:15 AM, Martin Kletzander wrote: When creating cgroups for vcpu and emulator threads whilst starting a domain, we explicitly skip creating those cgroups in case priv->cgroup is NULL (cgroups not supported) because SetAffi

Re: [libvirt] [PATCH] qemu: don't error out when cgroups don't exist

2014-07-09 Thread Ján Tomko
On 07/09/2014 10:15 AM, Martin Kletzander wrote: > When creating cgroups for vcpu and emulator threads whilst starting a > domain, we explicitly skip creating those cgroups in case priv->cgroup > is NULL (cgroups not supported) because SetAffinity() serves the same > purpose. If the host supports

[libvirt] [PATCH] qemu: don't error out when cgroups don't exist

2014-07-09 Thread Martin Kletzander
When creating cgroups for vcpu and emulator threads whilst starting a domain, we explicitly skip creating those cgroups in case priv->cgroup is NULL (cgroups not supported) because SetAffinity() serves the same purpose. If the host supports only some cgroups (the ones we need are either unmounted