summaryrefslogtreecommitdiffstats
path: root/hw/timer/lm32_timer.c
diff options
context:
space:
mode:
authorStefan Hajnoczi2016-06-16 18:56:28 +0200
committerStefan Hajnoczi2016-06-20 15:25:41 +0200
commit565ac01f8d35236844dd0257a185f81425cd4b6a (patch)
tree31b21ed53f6d1a0a4f313563c77de9af16b9f474 /hw/timer/lm32_timer.c
parentblockjob: add AioContext attached callback (diff)
downloadqemu-565ac01f8d35236844dd0257a185f81425cd4b6a.tar.gz
qemu-565ac01f8d35236844dd0257a185f81425cd4b6a.tar.xz
qemu-565ac01f8d35236844dd0257a185f81425cd4b6a.zip
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 'hw/timer/lm32_timer.c')
0 files changed, 0 insertions, 0 deletions