Received: from [140.186.70.92] (port=42358 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OasOR-0008Gq-Mr for qemu-devel@nongnu.org; Mon, 19 Jul 2010 11:36:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OasOP-0001fL-Oj for qemu-devel@nongnu.org; Mon, 19 Jul 2010 11:36:35 -0400 Received: from hall.aurel32.net ([88.191.82.174]:37102) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OasOP-0001f8-IR for qemu-devel@nongnu.org; Mon, 19 Jul 2010 11:36:33 -0400 Date: Mon, 19 Jul 2010 17:36:31 +0200 From: Aurelien Jarno Message-ID: <20100719153631.GG26579@hall.aurel32.net> References: <1279547615-25599-1-git-send-email-aurelien@aurel32.net> <4C446F28.7070201@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <4C446F28.7070201@redhat.com> Sender: Aurelien Jarno Subject: [Qemu-devel] Re: [PATCH] ide/atapi: add support for GET EVENT STATUS NOTIFICATION List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: QEMU Developers On Mon, Jul 19, 2010 at 05:28:40PM +0200, Kevin Wolf wrote: > Am 19.07.2010 15:53, schrieb Aurelien Jarno: > > The GET EVENT STATUS NOTIFICATION is a mandatory command according > > to MMC-3, even if event status notification is not supported. > > > > This patch adds support for this command. It returns NEA ("No Event > > Available") with an empty "Supported Event Classes" to show that it > > doesn't event support status notification. If asychronous operation is > > requested, which requires NCQ support, it returns an error according > > to the specifications. > > > > This fixes HAL support on FreeBSD and derivatives, which fill up the > > logs every second with: > > > > acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x20 ascq=0x00 > > > > Signed-off-by: Aurelien Jarno > > Looks good to me. Thanks for the review. > Would you prefer me to take this into the block branch (actually, I have > already done this) or are you going to commit directly? This might I am fine to get it through the block branch. > actually be something that should be in 0.13. agreed. > Have you tested some more OSes to ensure that they don't start to expect > events to actually work now the command "works"? I didn't see any > problems in a quick test with Linux, but you never know. > Besides FreeBSD, I have tested without problem Linux, NetBSD and OpenBSD, though I haven't tested them more then booting and mounting a CD-ROM. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net