[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 3/4] scripts: qmp-shell: add transaction subs
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v4 3/4] scripts: qmp-shell: add transaction subshell |
Date: |
Wed, 29 Apr 2015 13:34:06 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
On 04/29/2015 01:14 PM, John Snow wrote:
> Add a special processing mode to craft transactions.
>
> By entering "transaction(" the shell will enter a special
> mode where each subsequent command will be saved as a transaction
> instead of executed as an individual command.
>
> The transaction can be submitted by entering ")" on a line by itself.
>
> As a side-effect of this patch, blank lines are now parsed as no-ops,
> regardless of which shell mode you are in.
>
> Signed-off-by: John Snow <address@hidden>
> ---
> scripts/qmp/qmp-shell | 42 +++++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 41 insertions(+), 1 deletion(-)
>
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v4 0/4] scripts: qmp-shell: add transaction support, John Snow, 2015/04/29
- [Qemu-devel] [PATCH v4 1/4] scripts: qmp-shell: refactor helpers, John Snow, 2015/04/29
- [Qemu-devel] [PATCH v4 3/4] scripts: qmp-shell: add transaction subshell, John Snow, 2015/04/29
- Re: [Qemu-devel] [PATCH v4 3/4] scripts: qmp-shell: add transaction subshell,
Eric Blake <=
- [Qemu-devel] [PATCH v4 2/4] scripts: qmp-shell: Expand support for QMP expressions, John Snow, 2015/04/29
- [Qemu-devel] [PATCH v4 4/4] scripts: qmp-shell: Add verbose flag, John Snow, 2015/04/29
- Re: [Qemu-devel] [PATCH v4 0/4] scripts: qmp-shell: add transaction support, Kashyap Chamarthy, 2015/04/30