[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] SCSI: Update the sense code for PREVENT REMOVAL
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] SCSI: Update the sense code for PREVENT REMOVAL errors |
Date: |
Mon, 30 Jul 2012 09:35:36 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
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 <address@hidden>
> ---
> 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