freebsd qemu port update - kqemu wrapper merge, need testing

Juergen Lock nox at jelal.kn-bremen.de
Fri Aug 5 22:24:50 GMT 2005


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 at 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


More information about the freebsd-amd64 mailing list