diff options
| author | Paolo Bonzini | 2016-04-06 12:16:23 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2016-04-07 18:57:33 +0200 |
| commit | eb41cf78fcdbe3ba3566482c72ff314246a906cc (patch) | |
| tree | 5ba764a9add063d51842cc67c22376e6b8c44ceb /include/exec/user/thunk.h | |
| parent | virtio: make virtio_queue_notify_vq static (diff) | |
| download | qemu-eb41cf78fcdbe3ba3566482c72ff314246a906cc.tar.gz qemu-eb41cf78fcdbe3ba3566482c72ff314246a906cc.tar.xz qemu-eb41cf78fcdbe3ba3566482c72ff314246a906cc.zip | |
virtio-blk: fix disabled mode
We must not call virtio_blk_data_plane_notify if dataplane is
disabled: we would hit a segmentation fault in notify_guest_bh as
s->guest_notifier has not been setup and is NULL.
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/exec/user/thunk.h')
0 files changed, 0 insertions, 0 deletions
