virtio-scsi: factor checks for VIRTIO_SCSI_S_DRIVER_OK when reporting events
commitcd41a671b370a3dd603963432d2b02f1e5990fb7
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 8 Oct 2012 14:50:51 +0000 (8 16:50 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 12 Nov 2012 14:00:27 +0000 (12 15:00 +0100)
tree794f4ab9970071ab02236d65fa2c8caa2cc75205
parentc8dcb531bcd37a4a81d2cc08a89fcd19c34348f9
virtio-scsi: factor checks for VIRTIO_SCSI_S_DRIVER_OK when reporting events

Suggested by Laszlo Ersek.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/virtio-scsi.c