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

Eric Blake eblake at redhat.com
Thu Mar 31 22:49:51 UTC 2011


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.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110331/806728aa/attachment-0001.sig>


More information about the libvir-list mailing list