diff options
| author | Fam Zheng | 2015-10-23 05:08:13 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2015-10-23 18:18:24 +0200 |
| commit | 507306cc8ee7981894a96c380f42d80e2674cb04 (patch) | |
| tree | 4264578ec61e852db7f791229283f3f70d87885f /include/exec | |
| parent | block: Add "drained begin/end" for transactional blockdev-backup (diff) | |
| download | qemu-507306cc8ee7981894a96c380f42d80e2674cb04.tar.gz qemu-507306cc8ee7981894a96c380f42d80e2674cb04.tar.xz qemu-507306cc8ee7981894a96c380f42d80e2674cb04.zip | |
block: Add "drained begin/end" for internal snapshot
This ensures the atomicity of the transaction by avoiding processing of
external requests such as those from ioeventfd.
state->bs is assigned right after bdrv_drained_begin. Because it was
used as the flag for deletion or not in abort, now we need a separate
flag - InternalSnapshotState.created.
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
