]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Fix improper logic of qemuCgroupSetup
authorOsier Yang <jyang@redhat.com>
Fri, 1 Apr 2011 03:41:33 +0000 (11:41 +0800)
committerOsier Yang <jyang@redhat.com>
Fri, 1 Apr 2011 03:41:33 +0000 (11:41 +0800)
commit0ca16a78afbd3bdd44407c5813ad17765a7844f6
tree9c2914d7bf1b47eb545a6233458be194fee57559
parente206946da781cfc9de145f3364d3c42f82188a80
qemu: Fix improper logic of qemuCgroupSetup

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