aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi-defs.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-08-03 10:49:17 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-12 08:31:28 -0500
commit6dc06f08b3d6c0347df00ac68d9f30e2b233a749 (patch)
tree08468c1f09746189b98da48c9596197f315d33e9 /hw/scsi-defs.h
parenta872a3049a7b9439879a496cf7cc147af8feb3ef (diff)
downloadqemu-6dc06f08b3d6c0347df00ac68d9f30e2b233a749.zip
qemu-6dc06f08b3d6c0347df00ac68d9f30e2b233a749.tar.gz
qemu-6dc06f08b3d6c0347df00ac68d9f30e2b233a749.tar.bz2
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 977c38b..ea288fa 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