From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvYtb-0004k7-N2 for qemu-devel@nongnu.org; Fri, 23 Nov 2007 08:48:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvYta-0004gt-1q for qemu-devel@nongnu.org; Fri, 23 Nov 2007 08:48:39 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvYtZ-0004gc-PW for qemu-devel@nongnu.org; Fri, 23 Nov 2007 08:48:37 -0500 Received: from ug-out-1314.google.com ([66.249.92.170]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IvYtZ-0003hj-Ax for qemu-devel@nongnu.org; Fri, 23 Nov 2007 08:48:37 -0500 Received: by ug-out-1314.google.com with SMTP id m2so516362uge for ; Fri, 23 Nov 2007 05:48:35 -0800 (PST) Message-ID: Date: Fri, 23 Nov 2007 14:48:34 +0100 From: "andrzej zaborowski" Subject: Re: [Qemu-devel] wrong bios.bin file in Ubuntu Linux 7.10 causes blue screen on w2k guest In-Reply-To: <20071123091353.GJ3975@atlas.linux2go.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4745CEBA.90206@alpharesearch.de> <20071123091353.GJ3975@atlas.linux2go.dk> 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 On 23/11/2007, Soren Hansen wrote: > On Thu, Nov 22, 2007 at 01:47:22PM -0500, Markus Schulz wrote: > > Thank you for your response; I think the file can be found here: > > http://cvs.savannah.nongnu.org/viewvc/qemu/pc-bios/?root=qemu > > > As far as I understand Qemu uses the BIOS from the Bochs project and > > the diff is applied for Qemu and it becomes the Qemu BIOS. > > If that's really the case, I'm curious why it's distributed in its > binary form rather than being built at runtime. build-time? Perhaps because the (cross-)compiler used to build the BIOS is not present in many distros and would be a quite inconvenient dependency. This is for the PC bios from bochs. Now if all bioses shipped with qemu were built you would need some 4 cross-toolchains. > Fabrice, can you shed > some light on this? > > > I think every Qemu installation should use this Qemu BIOS, the BIOS > > that is made for this project and not the original Bochs BIOS. Are you > > able to fix this in Ubuntu? > > Debian and Ubuntu have fairly strict policies about stuff shipped in > binary form in source packages, so unless qemu is changed to build this > bios at build time, that's not going to happen. Note that this code doesn't run in this form on the host Debian/Ubuntu is on. It can well be treated as data, not code, like jpeg's shipped in binary with a program. The data is only interpreted by this program, but in case of an emulator the interpretation gives an ilusion of "executing". > I'm also not familiar with the changes in the bios.diff. Are they > specific to qemu or could the theoretically be applied to upstream bochs > without any ill side effects? There are only two tiny changes, one is generic, one is qemu specific. > > > BTW the Ubuntu has the same problem like Windows, if I try to start a > > image of Ubuntu with the wrong BIOS it crashes too. > > What do you mean exactly by "image"? Disk image + snapshot? > > -- > Soren Hansen > Ubuntu Server Team > http://www.ubuntu.com/ > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > > iD8DBQFHRpnRonjfXui9pOMRAntUAJ9PF49Su0NPfBf+p6Y/NGp0q6ALRQCeIAkG > HDcLSbfP0W0tZdOJB0jzFJQ= > =hbXr > -----END PGP SIGNATURE----- > >