aboutsummaryrefslogtreecommitdiffstats
path: root/kvm-stub.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2015-11-04 20:27:23 +0300
committerStefan Hajnoczi <stefanha@redhat.com>2015-11-09 10:07:10 +0000
commit84aa0140dd4f04f5d993f0db14c40da8d3de2706 (patch)
tree2e7a4d24c00263d64daf8d6b94f617198d0fe649 /kvm-stub.c
parentmonitor: add missed aio_context_acquire into vm_completion call (diff)
downloadqemu-84aa0140dd4f04f5d993f0db14c40da8d3de2706.tar.xz
qemu-84aa0140dd4f04f5d993f0db14c40da8d3de2706.zip
blockdev: acquire AioContext in hmp_commit()
This one slipped through. Although we acquire AioContext when committing all devices we don't for just a single device. AioContext must be acquired before calling bdrv_*() functions to synchronize access with other threads that may be using the AioContext. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Denis V. Lunev <den@openvz.org> Reviewed-by: Jeff Cody <jcody@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'kvm-stub.c')
0 files changed, 0 insertions, 0 deletions