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 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 <ronniesahlb...@gmail.com>
> ---
>  hw/scsi-bus.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

Thanks, applied.  Can you redo these two MMC patches also for ATAPI?

Paolo

Reply via email to