diff options
author | Alberto Garcia <berto@igalia.com> | 2015-11-13 15:00:24 +0200 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2015-11-18 16:26:15 +0100 |
commit | 4ad6f3db7db154d5274274bd0079d6318367ab16 (patch) | |
tree | 915a0ce641b41170d66030675af164d49ceb19e8 /blockdev.c | |
parent | 0702d3d88c2059814212b83f01e14ff3bb7b0c66 (diff) | |
download | qemu-4ad6f3db7db154d5274274bd0079d6318367ab16.zip qemu-4ad6f3db7db154d5274274bd0079d6318367ab16.tar.gz qemu-4ad6f3db7db154d5274274bd0079d6318367ab16.tar.bz2 |
block: Call external_snapshot_clean after blockdev-snapshot
Otherwise the AioContext will never be released.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Message-id: 1447419624-21918-1-git-send-email-berto@igalia.com
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'blockdev.c')
-rw-r--r-- | blockdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2098,6 +2098,7 @@ static const BlkActionOps actions[] = { .prepare = external_snapshot_prepare, .commit = external_snapshot_commit, .abort = external_snapshot_abort, + .clean = external_snapshot_clean, }, [TRANSACTION_ACTION_KIND_BLOCKDEV_SNAPSHOT_SYNC] = { .instance_size = sizeof(ExternalSnapshotState), |