diff options
author | Paolo Bonzini | 2012-06-12 18:37:25 +0200 |
---|---|---|
committer | Paolo Bonzini | 2012-07-02 11:27:00 +0200 |
commit | 619d7ae952bb61ec27ec21fe4a383a8d4dd4cd70 (patch) | |
tree | ee97bc4c2a8b74b3a451774d41364ffff3dde413 /hw/scsi-bus.c | |
parent | megasas: LSI Megaraid SAS HBA emulation (diff) | |
download | qemu-619d7ae952bb61ec27ec21fe4a383a8d4dd4cd70.tar.gz qemu-619d7ae952bb61ec27ec21fe4a383a8d4dd4cd70.tar.xz qemu-619d7ae952bb61ec27ec21fe4a383a8d4dd4cd70.zip |
virtio-scsi: do not crash on adding buffers to the event queue
The event queue is not supported yet and the handler does not
have to do much anyway when buffers are added. However, the
handler is called unconditionally by the virtio layer, and this
results in a crash as soon as buffers are added to the event
queue because we pass NULL.
Reported-by: Bryan Venteicher <bryanv@daemoninthecloset.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi-bus.c')
0 files changed, 0 insertions, 0 deletions