]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: fix the error cover issue in SetMemoryParameters
authorLuyao Huang <lhuang@redhat.com>
Wed, 22 Jul 2015 07:35:14 +0000 (15:35 +0800)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 22 Jul 2015 09:02:17 +0000 (11:02 +0200)
commit704cf06a14ca92dcb9be2c3db6bdf1b21f02e1f7
treed43986849bc1069e74cdaaf982656dfee12e214a
parent6395ec1cf029cfc0be371eea66da7bc379c31c69
qemu: fix the error cover issue in SetMemoryParameters

https://bugzilla.redhat.com/show_bug.cgi?id=1245476

We won't return the errno after commit 0d7f45ae, and
the more clearly error will be set in the code in vircgroup*.
Also We will always report error "Operation not permitted",
because the return is -1.

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