]> git.proxmox.com Git - mirror_qemu.git/commit - block/snapshot.c
include/block/snapshot: global state API + assertions
authorEmanuele Giuseppe Esposito <eesposit@redhat.com>
Thu, 3 Mar 2022 15:16:07 +0000 (10:16 -0500)
committerKevin Wolf <kwolf@redhat.com>
Fri, 4 Mar 2022 17:18:25 +0000 (18:18 +0100)
commit6b573efec853b84e99cae060dccc6d71e58af511
tree80e3d9dbe63dc0f38a8354c4723bcef4163a7e5a
parentc5be7445b7f7da9561f3ea721c6acab7b83ccbea
include/block/snapshot: global state API + assertions

Snapshots run also under the BQL, so they all are
in the global state API. The aiocontext lock that they hold
is currently an overkill and in future could be removed.

Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Message-Id: <20220303151616.325444-23-eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/snapshot.c
include/block/snapshot.h
migration/savevm.c