Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Aug 2005 00:14:37 +0200
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        Vladimir Kushnir <vkushnir@i.kiev.ua>
Cc:        freebsd-emulation@freebsd.org, qemu-devel@nongnu.org, freebsd-amd64@freebsd.org
Subject:   Re: freebsd qemu port update - kqemu wrapper merge, need testing
Message-ID:  <20050805221437.GA16804@saturn.kn-bremen.de>
In-Reply-To: <20050806002532.N902@kushnir1.kiev.ua>
References:  <20050804223114.GA21296@saturn.kn-bremen.de> <20050806002532.N902@kushnir1.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050805221437.GA16804>