qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] AHCI / Sata port initial error status


From: Alexander Graf
Subject: Re: [Qemu-devel] AHCI / Sata port initial error status
Date: Thu, 03 Jul 2014 13:57:25 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0


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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]