Re: [Qemu-devel] [PATCH v22 12/25] qcow2.c: replace QEMUOptionParameter with QemuOpts

2014-03-11 Thread Stefan Hajnoczi
On Mon, Mar 10, 2014 at 03:31:48PM +0800, Chunyan Liu wrote: @@ -1636,64 +1636,64 @@ static int qcow2_create(const char *filename, QEMUOptionParameter *options, int ret; /* Read out options */ -while (options options-name) { -if (!strcmp(options-name,

Re: [Qemu-devel] [PATCH v22 12/25] qcow2.c: replace QEMUOptionParameter with QemuOpts

2014-03-11 Thread Stefan Hajnoczi
On Mon, Mar 10, 2014 at 03:31:48PM +0800, Chunyan Liu wrote: @@ -1622,11 +1622,11 @@ out: return ret; } -static int qcow2_create(const char *filename, QEMUOptionParameter *options, -Error **errp) +static int qcow2_create(const char *filename, QemuOpts *opts,

[Qemu-devel] [PATCH v22 12/25] qcow2.c: replace QEMUOptionParameter with QemuOpts

2014-03-10 Thread Chunyan Liu
Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Chunyan Liu cy...@suse.com --- block/qcow2.c | 325 ++ 1 file changed, 167 insertions(+), 158 deletions(-) diff --git a/block/qcow2.c b/block/qcow2.c index