summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorFam Zheng2017-04-07 08:54:09 +0200
committerKevin Wolf2017-04-07 14:44:06 +0200
commitc26a5ab71338a53340257233bd172bbe22c06b16 (patch)
tree5d3bb905458d51f80b66b0376b483152113f22bb /scripts/switch-timer-api
parentblock: Don't check permissions for copy on read (diff)
downloadqemu-c26a5ab71338a53340257233bd172bbe22c06b16.tar.gz
qemu-c26a5ab71338a53340257233bd172bbe22c06b16.tar.xz
qemu-c26a5ab71338a53340257233bd172bbe22c06b16.zip
block: Fix unpaired aio_disable_external in external snapshot
bdrv_replace_child_noperm tries to hand over the quiesce_counter state from old bs to the new one, but if they are not on the same aio context this causes unbalance. Fix this by setting the correct aio context before calling bdrv_append(). Reported-by: Ed Swierk <eswierk@skyportsystems.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions