Re: [Qemu-devel] [PATCH 2.1 11/28] qmp: improve error reporting for -object and object-add

2014-03-06 Thread Hu Tao
On Tue, Mar 04, 2014 at 03:00:39PM +0100, Paolo Bonzini wrote: Use QERR_INVALID_PARAMETER_VALUE for consistency, and avoid an assertion failure if the class name is incorrect. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- qmp.c | 7 --- 1 file changed, 4 insertions(+), 3

Re: [Qemu-devel] [PATCH 2.1 11/28] qmp: improve error reporting for -object and object-add

2014-03-06 Thread Paolo Bonzini
Il 07/03/2014 04:07, Hu Tao ha scritto: There is already an accepted version de580dafade551. Paolo, I found that your numa tree is behind current master about 99 commits. I'd like to take over this series if you have no time on it. Sure, I rebased it and pushed it again (not tested the rebase

[Qemu-devel] [PATCH 2.1 11/28] qmp: improve error reporting for -object and object-add

2014-03-04 Thread Paolo Bonzini
Use QERR_INVALID_PARAMETER_VALUE for consistency, and avoid an assertion failure if the class name is incorrect. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- qmp.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/qmp.c b/qmp.c index 2ff943d..a3b0b73 100644 ---