summaryrefslogtreecommitdiffstats
path: root/hw/core/stream.c
diff options
context:
space:
mode:
authorFam Zheng2015-02-15 04:06:31 +0100
committerPaolo Bonzini2015-02-27 14:43:45 +0100
commit0543055967e554b5be10c3f96c077bf26dcaf181 (patch)
tree1bb5eb3c15e524a61b0e183a405e9066a8558df6 /hw/core/stream.c
parentblock: Forbid bdrv_set_aio_context outside BQL (diff)
downloadqemu-0543055967e554b5be10c3f96c077bf26dcaf181.tar.gz
qemu-0543055967e554b5be10c3f96c077bf26dcaf181.tar.xz
qemu-0543055967e554b5be10c3f96c077bf26dcaf181.zip
virtio-scsi-dataplane: Call blk_set_aio_context within BQL
It's not safe to call blk_set_aio_context from outside BQL because of the bdrv_drain_all there. Let's put it in the hotplug callback which will be called by qdev device realization for each scsi device attached to the bus. Signed-off-by: Fam Zheng <famz@redhat.com> Message-Id: <1423969591-23646-3-git-send-email-famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/core/stream.c')
0 files changed, 0 insertions, 0 deletions