Re: [Qemu-devel] [PATCH v18 11/14] qapi: make string input visitor parse int list

2014-02-19 Thread Paolo Bonzini
Il 19/02/2014 09:17, Hu Tao ha scritto: Two problems: 1. the code is mostly copied from OptsVisitor. maybe we can share the code? I think it's not a huge problem. Maybe OptsVisitor could be made to use a StringInputVisitor internally. 2. int list is not implemented in string outout vis

Re: [Qemu-devel] [PATCH v18 11/14] qapi: make string input visitor parse int list

2014-02-19 Thread Hu Tao
On Wed, Feb 19, 2014 at 03:54:02PM +0800, Hu Tao wrote: > Cc: Laszlo Ersek > Signed-off-by: Hu Tao > --- > qapi/string-input-visitor.c | 160 > -- > tests/test-string-input-visitor.c | 22 ++ > 2 files changed, 176 insertions(+), 6 deletions(-) >

[Qemu-devel] [PATCH v18 11/14] qapi: make string input visitor parse int list

2014-02-18 Thread Hu Tao
Cc: Laszlo Ersek Signed-off-by: Hu Tao --- qapi/string-input-visitor.c | 160 -- tests/test-string-input-visitor.c | 22 ++ 2 files changed, 176 insertions(+), 6 deletions(-) diff --git a/qapi/string-input-visitor.c b/qapi/string-input-visitor.c in