[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v11 12/12] migration: introduce snapshot-{save,load,delete} Q
From: |
Eric Blake |
Subject: |
Re: [PATCH v11 12/12] migration: introduce snapshot-{save,load,delete} QMP commands |
Date: |
Thu, 4 Feb 2021 09:40:36 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 |
On 2/4/21 6:48 AM, Daniel P. Berrangé wrote:
> savevm, loadvm and delvm are some of the few HMP commands that have never
> been converted to use QMP. The reasons for the lack of conversion are
> that they blocked execution of the event thread, and the semantics
> around choice of disks were ill-defined.
>
>
> Note that the existing "query-named-block-nodes" can be used to query
> what snapshots currently exist for block nodes.
>
> Acked-by: Markus Armbruster <armbru@redhat.com>
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
> migration/savevm.c | 184 +++++++
> qapi/job.json | 9 +-
> qapi/migration.json | 173 ++++++
> .../tests/internal-snapshots-qapi | 386 +++++++++++++
> .../tests/internal-snapshots-qapi.out | 520 ++++++++++++++++++
> 5 files changed, 1271 insertions(+), 1 deletion(-)
> create mode 100755 tests/qemu-iotests/tests/internal-snapshots-qapi
> create mode 100644 tests/qemu-iotests/tests/internal-snapshots-qapi.out
I compared v10 and v11, and see that you addressed my concerns.
Reviewed-by: Eric Blake <eblake@redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
- [PATCH v11 05/12] block: allow specifying name of block device for vmstate storage, (continued)
- [PATCH v11 05/12] block: allow specifying name of block device for vmstate storage, Daniel P . Berrangé, 2021/02/04
- [PATCH v11 06/12] block: rename and alter bdrv_all_find_snapshot semantics, Daniel P . Berrangé, 2021/02/04
- [PATCH v11 07/12] migration: control whether snapshots are ovewritten, Daniel P . Berrangé, 2021/02/04
- [PATCH v11 09/12] migration: introduce a delete_snapshot wrapper, Daniel P . Berrangé, 2021/02/04
- [PATCH v11 08/12] migration: wire up support for snapshot device selection, Daniel P . Berrangé, 2021/02/04
- [PATCH v11 10/12] iotests: add support for capturing and matching QMP events, Daniel P . Berrangé, 2021/02/04
- [PATCH v11 11/12] iotests: fix loading of common.config from tests/ subdir, Daniel P . Berrangé, 2021/02/04
- [PATCH v11 12/12] migration: introduce snapshot-{save, load, delete} QMP commands, Daniel P . Berrangé, 2021/02/04
- Re: [PATCH v11 12/12] migration: introduce snapshot-{save, load, delete} QMP commands, Dr. David Alan Gilbert, 2021/02/04
- Re: [PATCH v11 12/12] migration: introduce snapshot-{save,load,delete} QMP commands,
Eric Blake <=
- Re: [PATCH v11 12/12] migration: introduce snapshot-{save,load,delete} QMP commands, John Snow, 2021/02/16
- Re: [PATCH v11 00/12] migration: bring improved savevm/loadvm/delvm to QMP, Dr. David Alan Gilbert, 2021/02/04