aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api-macros
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2025-02-04 22:13:54 +0100
committerKevin Wolf <kwolf@redhat.com>2025-02-06 14:26:51 +0100
commite80210ffb24c4e47650344ba77ce3ed354af596c (patch)
tree1d3e95b53a140278c4a015051a9c215d93e801dc /rust/qemu-api-macros
parenta6490ec9d56b9e95a13918813585a3a9891710bc (diff)
downloadqemu-e80210ffb24c4e47650344ba77ce3ed354af596c.zip
qemu-e80210ffb24c4e47650344ba77ce3ed354af596c.tar.gz
qemu-e80210ffb24c4e47650344ba77ce3ed354af596c.tar.bz2
block: Inactivate external snapshot overlays when necessary
Putting an active block node on top of an inactive one is strictly speaking an invalid configuration and the next patch will turn it into a hard error. However, taking a snapshot while disk images are inactive after completing migration has an important use case: After migrating to a file, taking an external snapshot is what is needed to take a full VM snapshot. In order for this to keep working after the later patches, change creating a snapshot such that it automatically inactivates an overlay that is added on top of an already inactive node. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Acked-by: Fabiano Rosas <farosas@suse.de> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-ID: <20250204211407.381505-4-kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'rust/qemu-api-macros')
0 files changed, 0 insertions, 0 deletions