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

Osier Yang jyang at redhat.com
Fri Apr 1 03:42:35 UTC 2011


于 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 controller.
>>
>> And change "VIR_WARN" to "qemuReportError" for memory controller
>> incidentally.
>>
>> ---
>>   src/qemu/qemu_cgroup.c |   78 +++++++++++++++++++++++++----------------------
>>   1 files changed, 41 insertions(+), 37 deletions(-)
>
> ACK.
>

Thanks, applied

Osier




More information about the libvir-list mailing list