From: Alberto Garcia Date: Fri, 13 Nov 2015 13:00:24 +0000 (+0200) Subject: block: Call external_snapshot_clean after blockdev-snapshot X-Git-Tag: qemu-xen-4.8.0-rc1~676^2^2 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=4ad6f3db7db154d5274274bd0079d6318367ab16;p=qemu-xen.git block: Call external_snapshot_clean after blockdev-snapshot Otherwise the AioContext will never be released. Signed-off-by: Alberto Garcia Message-id: 1447419624-21918-1-git-send-email-berto@igalia.com Reviewed-by: Fam Zheng Signed-off-by: Max Reitz --- diff --git a/blockdev.c b/blockdev.c index 07c1741214..313841b0b4 100644 --- a/blockdev.c +++ b/blockdev.c @@ -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),