]> git.proxmox.com Git - mirror_qemu.git/commit
block: add ability to specify list of blockdevs during snapshot
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 4 Feb 2021 12:48:26 +0000 (12:48 +0000)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 8 Feb 2021 11:19:51 +0000 (11:19 +0000)
commitcf3a74c94f3da92fdf8d45047756f0e43657be1a
tree4bd20f44846b8a99eb0b4d23504d410e7f14f922
parentf61fe11aa6f7f8f0ffe4ddaa56a8108f3ab57854
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>
block/monitor/block-hmp-cmds.c
block/snapshot.c
include/block/snapshot.h
migration/savevm.c
monitor/hmp-cmds.c
replay/replay-debugging.c