summaryrefslogtreecommitdiff
path: root/block/backup.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2016-06-16 17:56:28 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2016-06-20 14:25:41 +0100
commit565ac01f8d35236844dd0257a185f81425cd4b6a (patch)
tree31b21ed53f6d1a0a4f313563c77de9af16b9f474 /block/backup.c
parent463e0be101cb5a78ca6ee517d58604c3f3637bcd (diff)
downloadqemu-565ac01f8d35236844dd0257a185f81425cd4b6a.tar.gz
mirror: follow AioContext change gracefully
Add block_job_pause_point() calls to mark quiescent points and make sure to complete in-flight requests when switching AioContexts. This patch solves undefined behavior in the mirror block job when the BDS AioContext is changed by dataplane. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Message-id: 1466096189-6477-8-git-send-email-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/backup.c')
0 files changed, 0 insertions, 0 deletions