Ronnie Sahlberg 93161b69a5 SCSI: Update the sense code for PREVENT REMOVAL errors
Change the sense codes for failures to eject a device that is locked
by PREVENT_ALLOW_MEDIUM_REMOVAL from
the generic MEDIA_LOAD_OR_EJECT_FAILED to the more specific
MEDIUM_REMOVAL_PREVENTED.

The second sense code is more accurate, and is also listed in MMC annex F
for the recommended sense codes for MMC devices while the first sense code is not.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2012-08-03 10:01:35 +02:00
..
2012-06-21 16:06:11 +00:00
2012-07-29 17:05:35 +03:00
2012-07-29 17:05:35 +03:00
2012-07-04 15:52:55 +03:00
2012-06-21 16:06:11 +00:00
2012-07-28 09:23:11 +00:00
2012-06-22 10:46:12 +02:00
2012-07-29 17:05:35 +03:00
2012-07-29 17:05:35 +03:00
2012-07-29 17:05:35 +03:00
2012-07-17 16:48:32 +02:00
2012-06-18 15:14:38 +02:00
2012-07-04 10:43:33 +00:00
2012-07-04 10:43:33 +00:00
2012-07-04 10:43:33 +00:00
2012-07-04 10:43:33 +00:00
2012-07-29 17:05:35 +03:00
2012-07-29 17:05:35 +03:00
2012-07-04 10:43:34 +00:00
2012-07-28 09:23:11 +00:00
2012-06-24 01:04:51 +02:00
2012-07-29 17:05:35 +03:00
2012-07-27 21:13:01 +00:00
2012-06-22 10:49:55 +02:00
2012-07-29 17:05:35 +03:00
2012-07-29 17:05:35 +03:00
2012-07-14 10:12:59 +00:00
2012-07-29 17:05:35 +03:00
2012-07-29 17:05:35 +03:00
2012-07-29 17:05:35 +03:00
2012-07-19 17:15:42 +03:00
2012-07-21 10:54:40 +01:00
2012-06-22 10:49:55 +02:00
2012-06-22 10:49:45 +02:00
2012-07-29 17:05:35 +03:00
2012-06-24 01:04:45 +02:00
2012-06-18 15:14:38 +02:00
2012-06-22 10:46:12 +02:00
2012-06-22 10:46:12 +02:00
2012-06-22 10:49:55 +02:00
2012-07-14 10:50:52 +00:00
2012-07-28 09:23:11 +00:00
2012-06-21 16:06:11 +00:00