Re: [libvirt] [PATCH] qemu: Fix improper logic of qemuCgroupSetup

2011-03-31 Thread Eric Blake
On 03/29/2011 09:54 PM, Osier Yang wrote: It throws errors as long as the cgroup controller is not available, regardless of whether we really want to use it to do setup or not, which is not what we want, fixing it with throwing error when need to use the controller. And change VIR_WARN to

Re: [libvirt] [PATCH] qemu: Fix improper logic of qemuCgroupSetup

2011-03-31 Thread Osier Yang
于 2011年04月01日 06:49, Eric Blake 写道: On 03/29/2011 09:54 PM, Osier Yang wrote: It throws errors as long as the cgroup controller is not available, regardless of whether we really want to use it to do setup or not, which is not what we want, fixing it with throwing error when need to use the

[libvirt] [PATCH] qemu: Fix improper logic of qemuCgroupSetup

2011-03-29 Thread Osier Yang
It throws errors as long as the cgroup controller is not available, regardless of whether we really want to use it to do setup or not, which is not what we want, fixing it with throwing error when need to use the controller. And change VIR_WARN to qemuReportError for memory controller