[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3] QMP: Allow dot separated dict path arguments
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v3] QMP: Allow dot separated dict path arguments in qmp-shell |
Date: |
Fri, 14 Feb 2014 10:47:55 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Feb 12, 2014 at 11:05:13AM +0800, Fam Zheng wrote:
> As another convinience to allow using commands that expect a dict as
> argument, this patch adds support for foo.bar=value syntax, similar to
> command line argument style:
>
> (QEMU) blockdev-add options.driver=file options.id=drive1
> options.filename=...
>
> Signed-off-by: Fam Zheng <address@hidden>
>
> ---
> v3: Fix error message wording. (Eric)
> v2: Fix variable usage and improved error check and report.
>
> Applies on top of Stefan's patch
>
> [PATCH] QMP: allow JSON dict arguments in qmp-shell
>
> Signed-off-by: Fam Zheng <address@hidden>
> ---
> scripts/qmp/qmp-shell | 20 ++++++++++++++++++--
> 1 file changed, 18 insertions(+), 2 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>