summaryrefslogtreecommitdiff
path: root/bootdevice.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2015-02-15 11:06:31 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2015-02-27 14:43:45 +0100
commit0543055967e554b5be10c3f96c077bf26dcaf181 (patch)
tree1bb5eb3c15e524a61b0e183a405e9066a8558df6 /bootdevice.c
parent2e5b887cfc69991eee27be6cc0938c70a360fe45 (diff)
downloadqemu-0543055967e554b5be10c3f96c077bf26dcaf181.tar.gz
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 'bootdevice.c')
0 files changed, 0 insertions, 0 deletions