summaryrefslogtreecommitdiffstats
path: root/hw/scsi-defs.h
diff options
context:
space:
mode:
authorPaolo Bonzini2011-08-03 10:49:17 +0200
committerAnthony Liguori2011-08-12 15:31:28 +0200
commit6dc06f08b3d6c0347df00ac68d9f30e2b233a749 (patch)
tree08468c1f09746189b98da48c9596197f315d33e9 /hw/scsi-defs.h
parentscsi: add a bunch more common sense codes (diff)
downloadqemu-6dc06f08b3d6c0347df00ac68d9f30e2b233a749.tar.gz
qemu-6dc06f08b3d6c0347df00ac68d9f30e2b233a749.tar.xz
qemu-6dc06f08b3d6c0347df00ac68d9f30e2b233a749.zip
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>
Diffstat (limited to 'hw/scsi-defs.h')
-rw-r--r--hw/scsi-defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/scsi-defs.h b/hw/scsi-defs.h
index 977c38b721..ea288fab07 100644
--- a/hw/scsi-defs.h
+++ b/hw/scsi-defs.h
@@ -78,6 +78,7 @@
#define READ_TOC 0x43
#define REPORT_DENSITY_SUPPORT 0x44
#define GET_CONFIGURATION 0x46
+#define GET_EVENT_STATUS_NOTIFICATION 0x4a
#define LOG_SELECT 0x4c
#define LOG_SENSE 0x4d
#define MODE_SELECT_10 0x55