Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BVeuo-0000Jn-3A for qemu-devel@nongnu.org; Wed, 02 Jun 2004 19:12:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BVeul-0000JO-2L for qemu-devel@nongnu.org; Wed, 02 Jun 2004 19:12:56 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BVeuk-0000JL-Ly for qemu-devel@nongnu.org; Wed, 02 Jun 2004 19:12:54 -0400 Received: from [212.63.36.242] (helo=gwyn.kn-bremen.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BVeu4-0003Xg-TX for qemu-devel@nongnu.org; Wed, 02 Jun 2004 19:12:13 -0400 From: Juergen Lock Date: Thu, 3 Jun 2004 01:18:05 +0200 Subject: qemu port (was: Re: [Qemu-devel] Running QEMU on FreeBSD) Message-ID: <20040603011805.A40432@saturn.kn-bremen.de> References: <40B90DB2.3040508@fabianowski.de> <1085872155.93476.18.camel@pcgem.rdg.cyberkinetica.com> <20040530102509.0f234b19.markus.niemisto@gmx.net> <1085910613.94556.3.camel@pcgem.rdg.cyberkinetica.com> <40B9F2A3.5000707@fabianowski.de> <1085938065.347.1.camel@pcgem.rdg.cyberkinetica.com> <40BA2EA1.7020104@fabianowski.de> <1085947772.347.5.camel@pcgem.rdg.cyberkinetica.com> <40BA7E1A.5080005@fabianowski.de> <1085966664.347.8.camel@pcgem.rdg.cyberkinetica.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1085966664.347.8.camel@pcgem.rdg.cyberkinetica.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Antony T Curtis Cc: qemu-devel@nongnu.org On Mon, May 31, 2004 at 09:46:21AM +0000, Antony T Curtis wrote: > ... > Replace the rintl() function in target-i386/op.c with the following: > > CPU86_LDouble rintl(CPU86_LDouble __x) { > register CPU86_LDouble __result; > __asm __volatile__ ("frndint" : "=t" (__result) : "0" (__x)); > return __result; > } OK, I've now taken this and the other FreeBSD patches, added a few small ones of my own and made a port, it can be fetched at http://www.freebsd.org/cgi/query-pr.cgi?pr=67506&f=raw (and hopefully will be committed soon.) I've noticed the following things tho: - needs to run as root in order to use /dev/tap* networking (why?) - slirp (usermode networking) compiles but doesn't seem to work for me - seems to have a timer problem (time sleep 1 takes 49 seconds and booting sleeps for minutes at the acd0 probe), but only on _some_ guest systems (FreeSBIE, knoppix.) An installed 5.2.1 guest system works ok (this also doesn't happen with linux as host.) And enabling /dev/rtc doesn't help either... (not included since it needs a patch to emulators/rtc.) - using physical media doesn't work on 4.x hosts (missing DIOCGMEDIASIZE ioctl) Testers and anyone who has ideas about these problems welcome... Juergen