From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvkW6-0005si-0I for qemu-devel@nongnu.org; Mon, 30 Jul 2012 03:35:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SvkVz-0004MZ-LX for qemu-devel@nongnu.org; Mon, 30 Jul 2012 03:35:49 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:34839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvkVz-0004MF-BZ for qemu-devel@nongnu.org; Mon, 30 Jul 2012 03:35:43 -0400 Received: by pbbro12 with SMTP id ro12so8985775pbb.4 for ; Mon, 30 Jul 2012 00:35:42 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <50163948.4050908@redhat.com> Date: Mon, 30 Jul 2012 09:35:36 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1343598723-12299-1-git-send-email-ronniesahlberg@gmail.com> <1343598723-12299-2-git-send-email-ronniesahlberg@gmail.com> In-Reply-To: <1343598723-12299-2-git-send-email-ronniesahlberg@gmail.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] SCSI: Update the sense code for PREVENT REMOVAL errors List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ronnie Sahlberg Cc: qemu-devel@nongnu.org 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 > --- > 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