From aaebacef0a55a7113335ae3f998031d3c538a477 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 16 Jul 2012 14:07:55 +0200 Subject: 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 --- hw/scsi.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/scsi.h') diff --git a/hw/scsi.h b/hw/scsi.h index f920208fb2..82a5fc8a94 100644 --- a/hw/scsi.h +++ b/hw/scsi.h @@ -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 */ -- cgit v1.2.3