]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemuDomainAddCgroupForThread: Don't overwrite the error
authorLuyao Huang <lhuang@redhat.com>
Fri, 14 Aug 2015 06:59:54 +0000 (14:59 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 18 Aug 2015 17:53:58 +0000 (19:53 +0200)
commit4153a7410574b07657704afc948dfbf6bf74eab6
treebd722636e6225fb6844f23d26448c812467fbc46
parentd5d710a199644b91463fd02f9eece86841b5f03c
qemuDomainAddCgroupForThread: Don't overwrite the error

Just like in commit 704cf06, if virCgroup*() fails, the error is
already reported. There's no need to overwrite the error with a
generic one and possibly hiding the true root cause of the error.

Signed-off-by: Luyao Huang <lhuang@redhat.com>
src/qemu/qemu_driver.c