From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LjyPc-0005vA-Sq for qemu-devel@nongnu.org; Wed, 18 Mar 2009 12:14:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LjyPb-0005ua-6t for qemu-devel@nongnu.org; Wed, 18 Mar 2009 12:14:36 -0400 Received: from [199.232.76.173] (port=44892 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LjyPb-0005uU-3A for qemu-devel@nongnu.org; Wed, 18 Mar 2009 12:14:35 -0400 Received: from web24507.mail.ird.yahoo.com ([87.248.114.234]:41990) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LjyPa-0006BU-F0 for qemu-devel@nongnu.org; Wed, 18 Mar 2009 12:14:34 -0400 Message-ID: <201500.89408.qm@web24507.mail.ird.yahoo.com> References: <49BFC8B0.2060609@icyb.net.ua> <49BFC930.9040609@icyb.net.ua> <49C0F7D9.8040504@icyb.net.ua> Date: Wed, 18 Mar 2009 16:12:59 +0000 (GMT) From: Sylvain Petreolle Subject: Re : [Qemu-devel] Re: patch: (attempt to) emulate 440BX/PIIX4 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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 ----- Message d'origine ----=0A> De : Andriy Gapon =0A> = =C0 : qemu-devel@nongnu.org=0A> Envoy=E9 le : Mercredi, 18 Mars 2009, 14h32= mn 09s=0A> Objet : [Qemu-devel] Re: patch: (attempt to) emulate 440BX/PIIX4= =0A> =0A> on 17/03/2009 18:00 Andriy Gapon said the following:=0A> > on 17/= 03/2009 17:58 Andriy Gapon said the following:=0A> >> With the attached pat= ches to qemu (against 0.10.0 release) and bochs bios =0A> (against=0A> >> l= atest from git plus qemu patches on top), I was able to boot win2k image = =0A> that was=0A> >> transfered from physical system with 440BX/PIIX4E hard= ware (MS-6163 =0A> motherboard).=0A> >>=0A> >> The patches are unconditiona= l, but it won't be too hard to put the =0A> differences=0A> >> under compil= e-time condition.=0A> >>=0A> >> Apparently qemu already emulates enough of = 440BX/PIIX4 sufficiently well - I=0A> >> didn't have any blue screens or ot= her issues so far.=0A> > =0A> > Sorry, I sent the bios patch with some debu= gging cruft.=0A> =0A> Also, qemu patch was missing some changes in piix_pci= .c as I discovered after a=0A> crash that happened when setting up an inter= rupt for ne2000.=0A> So updated qemu patch is here.=0A> =0A> =0A> -- =0A> A= ndriy Gapon=0A=0A=0AThis part should should change piix3_devfn to piix4_dev= fn IMHO.=0A=0A--- hw/pc.c.orig 2009-03-04 22:54:45.000000000 +0000=0A+++= hw/pc.c 2009-03-17 07:47:58.120091474 +0000=0A@@ -938,7 +941,7 @@=0A=0A= if (pci_enabled) {=0A pci_bus =3D i440fx_init(&i440fx_state, i82= 59);=0A- piix3_devfn =3D piix3_init(pci_bus, -1);=0A+ piix3_d= evfn =3D piix4_init(pci_bus, 7 << 3);=0A Kind regards,=0ASylvain Petreolle