Re: [Qemu-devel] [PATCH V4 06/10] create new function: qemu_opt_set_number

2012-10-29 Thread Dong Xu Wang
On Fri, Oct 26, 2012 at 5:02 PM, Stefan Hajnoczi wrote: > On Thu, Oct 25, 2012 at 08:57:24PM +0800, Dong Xu Wang wrote: >> diff --git a/qemu-option.c b/qemu-option.c >> index d7d5ea9..eeb2c9c 100644 >> --- a/qemu-option.c >> +++ b/qemu-option.c >> @@ -695,6 +695,30 @@ int qemu_opt_set_bool(QemuOpt

Re: [Qemu-devel] [PATCH V4 06/10] create new function: qemu_opt_set_number

2012-10-26 Thread Stefan Hajnoczi
On Thu, Oct 25, 2012 at 08:57:24PM +0800, Dong Xu Wang wrote: > diff --git a/qemu-option.c b/qemu-option.c > index d7d5ea9..eeb2c9c 100644 > --- a/qemu-option.c > +++ b/qemu-option.c > @@ -695,6 +695,30 @@ int qemu_opt_set_bool(QemuOpts *opts, const char *name, > bool val) > return 0; > } >

[Qemu-devel] [PATCH V4 06/10] create new function: qemu_opt_set_number

2012-10-25 Thread Dong Xu Wang
Signed-off-by: Dong Xu Wang --- qemu-option.c | 24 qemu-option.h |1 + 2 files changed, 25 insertions(+), 0 deletions(-) diff --git a/qemu-option.c b/qemu-option.c index d7d5ea9..eeb2c9c 100644 --- a/qemu-option.c +++ b/qemu-option.c @@ -695,6 +695,30 @@ int qemu_