From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 5 22:24:50 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFA0716A41F; Fri, 5 Aug 2005 22:24:50 +0000 (GMT) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50A6A43D48; Fri, 5 Aug 2005 22:24:47 +0000 (GMT) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn [127.0.0.1]) by gwyn.kn-bremen.de (8.13.4/8.13.4/Debian-3) with ESMTP id j75MObZA002871; Sat, 6 Aug 2005 00:24:37 +0200 Received: from saturn.kn-bremen.de (uucp@localhost) by gwyn.kn-bremen.de (8.13.4/8.13.4/Submit) with UUCP id j75MObLa002868; Sat, 6 Aug 2005 00:24:37 +0200 Received: from saturn.kn-bremen.de (localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.1/8.13.1) with ESMTP id j75MEf60016833; Sat, 6 Aug 2005 00:14:41 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.1/8.13.1/Submit) id j75MEbJT016832; Sat, 6 Aug 2005 00:14:37 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sat, 6 Aug 2005 00:14:37 +0200 To: Vladimir Kushnir Message-ID: <20050805221437.GA16804@saturn.kn-bremen.de> Mail-Followup-To: Vladimir Kushnir , freebsd-emulation@freebsd.org, freebsd-amd64@freebsd.org, qemu-devel@nongnu.org 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> User-Agent: Mutt/1.4.2.1i Cc: freebsd-emulation@freebsd.org, qemu-devel@nongnu.org, freebsd-amd64@freebsd.org Subject: Re: freebsd qemu port update - kqemu wrapper merge, need testing X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2005 22:24:50 -0000 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