diff options
| author | Stefan Hajnoczi <stefanha@redhat.com> | 2015-11-04 20:27:23 +0300 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@redhat.com> | 2015-11-09 10:07:10 +0000 |
| commit | 84aa0140dd4f04f5d993f0db14c40da8d3de2706 (patch) | |
| tree | 2e7a4d24c00263d64daf8d6b94f617198d0fe649 /hw/core/qdev.c | |
| parent | 6bf1faa84877514971a20bb180b0ae5270bee571 (diff) | |
| download | focaccia-qemu-84aa0140dd4f04f5d993f0db14c40da8d3de2706.tar.gz focaccia-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 'hw/core/qdev.c')
0 files changed, 0 insertions, 0 deletions