diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-04-06 12:16:23 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-04-07 19:57:33 +0300 |
commit | eb41cf78fcdbe3ba3566482c72ff314246a906cc (patch) | |
tree | 5ba764a9add063d51842cc67c22376e6b8c44ceb /tests/ioh3420-test.c | |
parent | 2b2cbcadc157295c7a1a25d7e7d0db9cdafcf773 (diff) |
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 'tests/ioh3420-test.c')
0 files changed, 0 insertions, 0 deletions