Re: [libvirt] [PATCH] qemu: fix the error cover issue in SetMemoryParameters

2015-07-22 Thread lhuang
On 07/22/2015 05:06 PM, Martin Kletzander wrote: On Wed, Jul 22, 2015 at 03:35:14PM +0800, Luyao Huang wrote: 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 alwa

Re: [libvirt] [PATCH] qemu: fix the error cover issue in SetMemoryParameters

2015-07-22 Thread Martin Kletzander
On Wed, Jul 22, 2015 at 03:35:14PM +0800, Luyao Huang wrote: 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

[libvirt] [PATCH] qemu: fix the error cover issue in SetMemoryParameters

2015-07-22 Thread Luyao Huang
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 --- src/qemu/qe