Received: from eggs.gnu.org ([140.186.70.92]:46520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvVV8-0005af-Kj for qemu-devel@nongnu.org; Thu, 09 Feb 2012 10:01:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvVV6-0002k4-Su for qemu-devel@nongnu.org; Thu, 09 Feb 2012 10:01:34 -0500 Received: from cantor2.suse.de ([195.135.220.15]:59658 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvVV6-0002jr-OF for qemu-devel@nongnu.org; Thu, 09 Feb 2012 10:01:32 -0500 Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=iso-8859-1 From: Alexander Graf In-Reply-To: <4F33DF49.6050607@redhat.com> Date: Thu, 9 Feb 2012 16:01:31 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1327962588-5230-1-git-send-email-agraf@suse.de> <4F33D7F1.9050709@redhat.com> <4A8471A2-00B3-4C2E-8457-7372EBF7FA22@suse.de> <4F33DF49.6050607@redhat.com> Subject: Re: [Qemu-devel] [PATCH] ATA: Allow WIN_SECURITY_FREEZE_LOCK as nop List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Jan Kiszka , qemu-devel Developers On 09.02.2012, at 15:59, Kevin Wolf wrote: > Am 09.02.2012 15:49, schrieb Alexander Graf: >>=20 >> On 09.02.2012, at 15:28, Kevin Wolf wrote: >>=20 >>> Am 30.01.2012 23:29, schrieb Alexander Graf: >>>> When using Windows 8 with an AHCI disk drive, it issues a blue = screen. >>>> The reason is that WIN_SECURITY_FREEZE_LOCK / CFA_WEAR_LEVEL is not >>>> supported by our ATA implementation, but Windows expects it to be = there. >>>=20 >>> Is there anything that makes Windows believe that we support it? The >>> spec says bits in IDENTIFY word 82 and 128 must be set to indicate >>> support for the security feature set, and we don't set those. >>>=20 >>> Might be just a Windows bug, of course... >>=20 >> IIUC it's mandatory in more recent ATA versions, so that's probably = why it assumes it's there. >=20 > ACS-2 says it's optional for both ATA and ATAPI devices. Ah, right. I was looking at the "Historical Command Assignments" table = and figured C means it's required, but that of course is wrong. Then I seriously have no idea why Windows is erroring out here. I mean, = it does work just fine for IDE devices. And we don't tell the guest = anything special for AHCI. Alex