From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 5 21:40:15 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 5972A16A41F; Fri, 5 Aug 2005 21:40:15 +0000 (GMT) (envelope-from vkushnir@i.kiev.ua) Received: from horse.iptelecom.net.ua (horse.iptelecom.net.ua [212.9.224.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CBC843D45; Fri, 5 Aug 2005 21:40:13 +0000 (GMT) (envelope-from vkushnir@i.kiev.ua) Received: from h122.241.159.dialup.iptcom.net ([213.159.241.122]:41168 "EHLO kushnir1.kiev.ua" ident: "SOCKFAULT1" whoson: "vkushnir") by horse.iptelecom.net.ua with ESMTP id S1219359AbVHEVkL (ORCPT + 1 other); Sat, 6 Aug 2005 00:40:11 +0300 Received: from kushnir1.kiev.ua (kushnir1.kiev.ua [10.0.0.1]) by kushnir1.kiev.ua (8.13.4/8.13.3) with ESMTP id j75Le6M4001612; Sat, 6 Aug 2005 00:40:06 +0300 (EEST) (envelope-from vkushnir@i.kiev.ua) Date: Sat, 6 Aug 2005 00:40:06 +0300 (EEST) From: Vladimir Kushnir X-X-Sender: vkushnir@kushnir1.kiev.ua To: Juergen Lock In-Reply-To: <20050804223114.GA21296@saturn.kn-bremen.de> Message-ID: <20050806002532.N902@kushnir1.kiev.ua> References: <20050804223114.GA21296@saturn.kn-bremen.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 21:40:15 -0000 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. No warnings, no panics... and no kqemu's speed boost (obviously). Is there anything I could do? Regards, Vladimir