From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:46617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RumX3-0005NX-Uy for qemu-devel@nongnu.org; Tue, 07 Feb 2012 10:00:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RumWt-0001L4-HG for qemu-devel@nongnu.org; Tue, 07 Feb 2012 10:00:33 -0500 Received: from cantor2.suse.de ([195.135.220.15]:40738 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RumWt-0001KY-6N for qemu-devel@nongnu.org; Tue, 07 Feb 2012 10:00:23 -0500 Message-ID: <4F313BF7.1020800@suse.de> Date: Tue, 07 Feb 2012 15:57:59 +0100 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1327962588-5230-1-git-send-email-agraf@suse.de> In-Reply-To: <1327962588-5230-1-git-send-email-agraf@suse.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable 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: Alexander Graf Cc: kwolf@redhat.com, Jan Kiszka , qemu-devel Developers , Bruce Rogers Hi Alex, 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 > Since without security stuff implemented, the lock would be a nop anywa= y > and CFA_WEAR_LEVEL already is treated as a nop, let's just allow the cm= d > for HD drives as well. That way Windows is happy. I tested this with Windows 2008 R2 and it does not resolve the blue screen I'm getting there during installation. Unfortunately it reboots so quickly that I cannot read what it says. Could you share how you debugged your Windows 8 issue? Andreas >=20 > Signed-off-by: Alexander Graf > --- > hw/ide/core.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) >=20 > diff --git a/hw/ide/core.c b/hw/ide/core.c > index 56b219b..2c129f4 100644 > --- a/hw/ide/core.c > +++ b/hw/ide/core.c > @@ -969,7 +969,7 @@ static const uint8_t ide_cmd_table[0x100] =3D { > [WIN_IDENTIFY] =3D ALL_OK, > [WIN_SETFEATURES] =3D ALL_OK, > [IBM_SENSE_CONDITION] =3D CFA_OK, > - [CFA_WEAR_LEVEL] =3D CFA_OK, > + [CFA_WEAR_LEVEL] =3D HD_CFA_OK, > [WIN_READ_NATIVE_MAX] =3D ALL_OK, > }; > =20 --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg