Subject: Re: another SoC project suggestion: kqemu kernel accelerator module
To: Hubert Feyrer <email@example.com>
From: Juan RP <firstname.lastname@example.org>
Date: 04/27/2006 18:35:29
On Thu, 27 Apr 2006 13:53:59 +0200 (CEST)
Hubert Feyrer <email@example.com> wrote:
> Qemu is a software emulator for an Intel CPU (and others).
> For Linux and FreeBSD, an accelerator module is available that
> speeds up the whole emulation process considerably.
> Having that module available on NetBSD would be nice.
> I've had a quick look at the sources, and merging the FreeBSD and Linux
> sources shouldn't be impossible - it boils down to writing a LKM that
> allocates a bit of wired kernel memory and provides a character device
> driver to issue various commands. The commands (ioctls) would be C stub
> calls that then call into the actual accelerator module, which is only
> available as binary module.
> Ideally, this would target the CVS version of qemu.
> A first step would probably be to make a qemu-devel package that uses the
> CVS version of qemu, and then port the kqemu module.
> Getting the X86_64 version to go would be a possible addition.
> Work required for this: within SoC timeframe, including getting familiar
> with the VM and device driver interfaces in NetBSD as well as getting
> qemu-cvs to build.
> Possible mentors: someone with slight kernel clue (VM, device drivers),
> ie. not me X-)
wip/qemu-qvm86 contains the NetBSD port for the kqemu accelerator