diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2021-02-04 12:48:26 +0000 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2021-02-08 11:19:51 +0000 |
commit | cf3a74c94f3da92fdf8d45047756f0e43657be1a (patch) | |
tree | 4bd20f44846b8a99eb0b4d23504d410e7f14f922 /monitor | |
parent | f61fe11aa6f7f8f0ffe4ddaa56a8108f3ab57854 (diff) | |
download | qemu-cf3a74c94f3da92fdf8d45047756f0e43657be1a.zip qemu-cf3a74c94f3da92fdf8d45047756f0e43657be1a.tar.gz qemu-cf3a74c94f3da92fdf8d45047756f0e43657be1a.tar.bz2 |
block: add ability to specify list of blockdevs during snapshot
When running snapshot operations, there are various rules for which
blockdevs are included/excluded. While this provides reasonable default
behaviour, there are scenarios that are not well handled by the default
logic. Some of the conditions do not have a single correct answer.
Thus there needs to be a way for the mgmt app to provide an explicit
list of blockdevs to perform snapshots across. This can be achieved
by passing a list of node names that should be used.
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20210204124834.774401-5-berrange@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'monitor')
-rw-r--r-- | monitor/hmp-cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/hmp-cmds.c b/monitor/hmp-cmds.c index 6ff050a..f795261 100644 --- a/monitor/hmp-cmds.c +++ b/monitor/hmp-cmds.c @@ -1158,7 +1158,7 @@ void hmp_delvm(Monitor *mon, const QDict *qdict) Error *err = NULL; const char *name = qdict_get_str(qdict, "name"); - bdrv_all_delete_snapshot(name, &err); + bdrv_all_delete_snapshot(name, false, NULL, &err); hmp_handle_error(mon, err); } |