Re: [Qemu-devel] [PATCH] SCSI: Update the sense code for PREVENT REMOVAL errors

2012-07-30 Thread Paolo Bonzini
Il 29/07/2012 23:52, Ronnie Sahlberg ha scritto: > 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 i

[Qemu-devel] [PATCH] SCSI: Update the sense code for PREVENT REMOVAL errors

2012-07-29 Thread Ronnie Sahlberg
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