qemu/hw/scsi
Stefan Hajnoczi 0e22a2d189 vhost-scsi: fix k->set_guest_notifiers() NULL dereference
Coverity picked up a copy-paste bug.  In vhost_scsi_start() we check for
!k->set_guest_notifiers and error out.  The check probably got copied
but instead of erroring we actually use the function pointer!

Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Cc: Asias He <asias@redhat.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2013-06-18 12:43:03 +02:00
..
esp-pci.c scsi: add bus_name parameter to scsi_bus_new. 2013-05-03 12:05:15 -05:00
esp.c scsi: add bus_name parameter to scsi_bus_new. 2013-05-03 12:05:15 -05:00
lsi53c895a.c scsi: add bus_name parameter to scsi_bus_new. 2013-05-03 12:05:15 -05:00
Makefile.objs vhost-scsi: new device supporting the tcm_vhost Linux kernel module 2013-04-19 16:18:11 +02:00
megasas.c exec: eliminate qemu_put_ram_ptr 2013-05-24 18:42:19 +02:00
mfi.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
scsi-bus.c scsi: add bus_name parameter to scsi_bus_new. 2013-05-03 12:05:15 -05:00
scsi-disk.c scsi-disk: scsi-block device for scsi pass-through should not be removable 2013-06-18 12:43:03 +02:00
scsi-generic.c scsi-generic: check the return value of bdrv_aio_ioctl in execute_command 2013-06-18 12:43:03 +02:00
spapr_vscsi.c scsi: add bus_name parameter to scsi_bus_new. 2013-05-03 12:05:15 -05:00
srp.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
vhost-scsi.c vhost-scsi: fix k->set_guest_notifiers() NULL dereference 2013-06-18 12:43:03 +02:00
viosrp.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
virtio-scsi.c virtio-scsi: fix the command line compatibility. 2013-05-03 12:05:15 -05:00
vmw_pvscsi.c hw/scsi: Don't increment a boolean value 2013-06-11 23:45:44 +04:00
vmw_pvscsi.h scsi: VMWare PVSCSI paravirtual device implementation 2013-04-19 10:44:17 +02:00