From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=57012 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7l1W-00005f-0I for qemu-devel@nongnu.org; Thu, 07 Apr 2011 04:57:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7l1U-0008DC-Uz for qemu-devel@nongnu.org; Thu, 07 Apr 2011 04:57:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7l1U-0008Cx-M7 for qemu-devel@nongnu.org; Thu, 07 Apr 2011 04:57:04 -0400 Message-ID: <4D9D7CE8.7070001@redhat.com> Date: Thu, 07 Apr 2011 10:59:20 +0200 From: Kevin Wolf MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH v2 1/2] cdrom: Allow the TEST_UNIT_READY command after a cdrom change List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amit Shah Cc: Gleb Natapov , Juan Quintela , Stefan Hajnoczi , Markus Armbruster , qemu list Am 07.04.2011 07:05, schrieb Amit Shah: > We restrict the commands that a guest can send us after a cdrom change > event. The current list includes REQUEST_SENSE and INQUIRY commands. > Guests can also issue TEST_UNIT_READY to inquire for the status, so > allow this command as well. > > Signed-off-by: Amit Shah Hm... MMC-5, section 4.1.6.1 seems to conflict with this: "If a Host issues a command other than GET CONFIGURATION, GET EVENT STATUS NOTIFICATION, INQUIRY or REQUEST SENSE while a unit attention condition exists for that Host, the Drive shall not perform the command and shall report CHECK CONDITION status unless a higher priority status as defined by the Drive is also pending." So while you're right that our list is incomplete, TEST UNIT READY doesn't seem to be among the missing commands. Kevin