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
..
2013-06-14 15:34:19 +01:00
2013-06-04 09:26:29 -05:00
2013-06-07 12:14:45 +02:00
2013-06-07 14:55:33 +02:00
2013-06-07 12:14:45 +02:00
2013-06-07 14:55:33 +02:00
2013-06-02 18:14:14 +03:00
2013-06-07 14:55:33 +02:00
2013-06-02 18:13:37 +03:00
2013-06-02 18:13:37 +03:00
2013-06-03 17:17:45 +01:00
2013-06-02 18:14:02 +03:00
2013-06-07 14:55:25 +02:00
2013-06-07 14:55:33 +02:00
2013-06-03 11:38:03 +02:00
2013-06-07 12:14:45 +02:00