From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2fdw-0004C3-97 for qemu-devel@nongnu.org; Thu, 03 Jul 2014 07:57:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2fdn-0001PH-Gy for qemu-devel@nongnu.org; Thu, 03 Jul 2014 07:57:36 -0400 Received: from cantor2.suse.de ([195.135.220.15]:40855 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2fdn-0001P0-A9 for qemu-devel@nongnu.org; Thu, 03 Jul 2014 07:57:27 -0400 Message-ID: <53B54525.1020906@suse.de> Date: Thu, 03 Jul 2014 13:57:25 +0200 From: Alexander Graf MIME-Version: 1.0 References: <53B1B717.6070205@redhat.com> In-Reply-To: <53B1B717.6070205@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] AHCI / Sata port initial error status List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Snow , qemu-devel@nongnu.org On 30.06.14 21:14, John Snow wrote: > I am in the process of writing a series of AHCI tests (for q35) that > compare the written specifications against what the current device > emulation actually does, and I was curious about this bit instead of > ahci.c, in ahci_reset_port: > > ide_state->error = 1; > > What does this error signify, exactly, and why is it set by default on > ports with a device attached? It trickles up inside of the PxTFD.ERR > byte in the HBA as well as showing up in the initial Register D2H FIS > after the PxCMD.FRE bit is set. I honestly don't remember :). We do unset the error bit once we get the first working command though. Alex