scsi: add support for unit attention conditions
commit6dc06f08b3d6c0347df00ac68d9f30e2b233a749
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 3 Aug 2011 08:49:17 +0000 (3 10:49 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 12 Aug 2011 13:31:28 +0000 (12 08:31 -0500)
tree08468c1f09746189b98da48c9596197f315d33e9
parenta872a3049a7b9439879a496cf7cc147af8feb3ef
scsi: add support for unit attention conditions

Unit attention conditions override any sense data the device already
has.  Their signaling and clearing is handled entirely by the SCSIBus
code, and they are completely transparent to the SCSIDevices.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/scsi-bus.c
hw/scsi-defs.h
hw/scsi.h