From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CGMnU-00073P-Ok for qemu-devel@nongnu.org; Sat, 09 Oct 2004 15:22:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CGMnT-00072z-Uc for qemu-devel@nongnu.org; Sat, 09 Oct 2004 15:22:28 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CGMnT-00072w-R7 for qemu-devel@nongnu.org; Sat, 09 Oct 2004 15:22:27 -0400 Received: from [213.80.72.10] (helo=kubrik.opensource.se) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CGMgK-0004MU-V3 for qemu-devel@nongnu.org; Sat, 09 Oct 2004 15:15:05 -0400 Received: from kubu (unknown [213.80.72.14]) by kubrik.opensource.se (Postfix) with ESMTP id 3DB553752C for ; Sat, 9 Oct 2004 21:03:01 +0200 (CEST) Subject: Re: [Qemu-devel] [patch] make PCI work with Windows NT 4 guest From: Magnus Damm In-Reply-To: <416816AC.6060600@bellard.org> References: <877jt7ru1v.fsf@benpfaff.org> <416816AC.6060600@bellard.org> Content-Type: text/plain Message-Id: <1097349742.15735.2.camel@kubu.opensource.se> Mime-Version: 1.0 Date: Sat, 09 Oct 2004 21:22:22 +0200 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org While at it, what about: http://lists.gnu.org/archive/html/qemu-devel/2004-07/msg00574.html / magnus On Sat, 2004-10-09 at 18:49, Fabrice Bellard wrote: > Applied. > > Fabrice. > > Ben Pfaff wrote: > > This is the minimal patch that, combined with my previous patch, > > allows a Windows NT 4 guest to boot with qemu's PCI support > > enabled. It seems that WNT4 is pretty grumpy about the DSC > > ("device seek complete") bit in the status register. If we don't > > set it on WIN_SPECIFY, WNT4 times out and gives up on the device. > > > > diff -u -p -u -r1.26 ide.c > > --- hw/ide.c 25 Jun 2004 14:54:19 -0000 1.26 > > +++ hw/ide.c 14 Jul 2004 06:15:40 -0000 > > @@ -1477,7 +1477,7 @@ static void ide_ioport_write(void *opaqu > > case WIN_SPECIFY: > > case WIN_RECAL: > > s->error = 0; > > - s->status = READY_STAT; > > + s->status = READY_STAT | SEEK_STAT; > > ide_set_irq(s); > > break; > > case WIN_SETMULT: > > > > > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel