diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-07-16 14:07:55 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-07-27 08:25:26 +0200 |
commit | aaebacef0a55a7113335ae3f998031d3c538a477 (patch) | |
tree | 8f76f724713f358ca2092526557418afa732eb71 /hw/scsi.h | |
parent | e48e84ea80cb2e7fe6e48196ce187cfba6e3eb2c (diff) | |
download | qemu-aaebacef0a55a7113335ae3f998031d3c538a477.zip qemu-aaebacef0a55a7113335ae3f998031d3c538a477.tar.gz qemu-aaebacef0a55a7113335ae3f998031d3c538a477.tar.bz2 |
scsi-disk: report resized disk via sense codes
Linux will not use these, but a very similar mechanism will be used to
report the condition via virtio-scsi events.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi.h')
-rw-r--r-- | hw/scsi.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -200,6 +200,8 @@ extern const struct SCSISense sense_code_IO_ERROR; extern const struct SCSISense sense_code_I_T_NEXUS_LOSS; /* Command aborted, Logical Unit failure */ extern const struct SCSISense sense_code_LUN_FAILURE; +/* LUN not ready, Capacity data has changed */ +extern const struct SCSISense sense_code_CAPACITY_CHANGED; /* LUN not ready, Medium not present */ extern const struct SCSISense sense_code_UNIT_ATTENTION_NO_MEDIUM; /* Unit attention, Power on, reset or bus device reset occurred */ |