Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E1AjX-0008Kl-PJ for qemu-devel@nongnu.org; Fri, 05 Aug 2005 18:32:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E1AjN-0008EN-MV for qemu-devel@nongnu.org; Fri, 05 Aug 2005 18:31:59 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E1AjN-0008Db-Eu for qemu-devel@nongnu.org; Fri, 05 Aug 2005 18:31:57 -0400 Received: from [212.63.36.242] (helo=gwyn.kn-bremen.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1E1Apl-0006vz-Mk for qemu-devel@nongnu.org; Fri, 05 Aug 2005 18:38:34 -0400 From: Juergen Lock Date: Sat, 6 Aug 2005 00:14:37 +0200 Message-ID: <20050805221437.GA16804@saturn.kn-bremen.de> References: <20050804223114.GA21296@saturn.kn-bremen.de> <20050806002532.N902@kushnir1.kiev.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050806002532.N902@kushnir1.kiev.ua> Subject: [Qemu-devel] Re: freebsd qemu port update - kqemu wrapper merge, need testing Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladimir Kushnir Cc: freebsd-emulation@freebsd.org, qemu-devel@nongnu.org, freebsd-amd64@freebsd.org On Sat, Aug 06, 2005 at 12:40:06AM +0300, Vladimir Kushnir wrote: > Hi > Thanks for your work, but... (see below) > > On Fri, 5 Aug 2005, Juergen Lock wrote: > > >Okay, I finally got around looking at this a little longer and > >came up with the port update below. Specifically, I tried to merge > >the good parts of the old kqemu wrapper: > > > >- device cloning support on 5.x (multiple vms can use kqemu, tested > >and seems to work) > >- 4.x support (untested, I'm not sure if vm_map_user_pageable can > >be used as a 1-to-1 replacement for vm_map_{un,}wire on 4.x, can > >anyone here definitely say?) > >- max_locked_pages calculation > > > >Also: > > > >- moved debug messages under debug.kqemu_debug sysctl > >(do `sysctl debug.kqemu_debug=1' to enable) > >- fixed a small bug > >- added the amd64 ata irq mapping fix > > > >Also untested on amd64. > > > > Here it goes: > > ~> uname -a > FreeBSD kushnir1.kiev.ua 7.0-CURRENT FreeBSD 7.0-CURRENT #10: Thu Aug 4 > 04:17:5 > 4 EEST 2005 root@kushnir1.kiev.ua:/usr/obj/usr/src/sys/KUSHNIR amd64 > > This is Athlon64 3000+ -based box, Asus A8N SLI MB. > qemu itself builds and works like a charm ('sept the sound doesn't work), > but as far as kqemu is concerned - it loads perfectly all right but no > /dev/kqemu... is created. That's alright, it will appear when open()ed by qemu. (thats device cloning for ya...) > No warnings, no panics... qemu would print a warning when it cannot open kqemu. > and no kqemu's speed > boost (obviously). > Hmm. You do use qemu-system-x86_64, since you're on amd64? Juergen