[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] The QEMU Accelerator Module
From: |
Derek Fawcus |
Subject: |
Re: [Qemu-devel] The QEMU Accelerator Module |
Date: |
Fri, 11 Feb 2005 16:09:10 +0000 |
Well,
rather than whinging because Fabrice has not chosen to distribute his
work under your preferred licence. People could simply reimplement it.
Mind - this involves effort on their behalf, and some thinking. So it's
certainly easier to moan. However I suggest that such moaning is simply
a waste of time and effort.
Now I don't know how Fabrice has done the kqemu module, but the obvious
approach that springs to mind is simply moving the qemu-fast processing
into the kernel with checks for the address boundary. So if I was to
attempt to reimplement it, my starting point would be to approach it
in that fashion.
Namely placing a version of cpu_exec() and/or main_loop() into the kernel
together with the use of the USE_CODE_COPY facility and some bounds checks
such that if the machine being emulated attempted to have accessable memory
above 0xc0000000 it would fall back to the user-space SOFT_MMU emulation.
One could then manipulate the process space such that while the kernel
module was running user space code, it's process address space (< 0xc0000000)
reflected the emulated machine space.
However, I've got other things to do, so the above is not a priority,
and I'm quite happy to use Fabrice's module. Mind - I need to update
to a more recent version of the code, my current work is in a version
dating back to ~ September / October last year.
DF
- Re: [Qemu-devel] The QEMU Accelerator Module, (continued)
- [Qemu-devel] KQemu logic and marketing goals, Jean-Michel POURE, 2005/02/11
- Re: [Qemu-devel] KQemu logic and marketing goals, Lionel Ulmer, 2005/02/11
- Re: [Qemu-devel] KQemu logic and marketing goals, Julian Seward, 2005/02/11
- Re: [Qemu-devel] KQemu logic and marketing goals, Lennert Buytenhek, 2005/02/11
- Re: [Qemu-devel] KQemu logic and marketing goals, Johannes Schindelin, 2005/02/11
- Re: [Qemu-devel] KQemu logic and marketing goals, Lennert Buytenhek, 2005/02/11
- Re: [Qemu-devel] KQemu logic and marketing goals, Jean-Michel POURE, 2005/02/11
Re: [Qemu-devel] The QEMU Accelerator Module, Johannes Schindelin, 2005/02/11
Re: [Qemu-devel] The QEMU Accelerator Module,
Derek Fawcus <=
[Qemu-devel] Re: The QEMU Accelerator Module, Alexander E. Patrakov, 2005/02/11
[Qemu-devel] Re: The QEMU Accelerator Module, Anand Kumria, 2005/02/11
- Re: [Qemu-devel] Re: The QEMU Accelerator Module, Antti-Juhani Kaijanaho, 2005/02/11
- Re: [Qemu-devel] Re: The QEMU Accelerator Module, Johannes Schindelin, 2005/02/11
- [Qemu-devel] Re: Re: The QEMU Accelerator Module, Anand Kumria, 2005/02/12
- Re: [Qemu-devel] Re: Re: The QEMU Accelerator Module, Natalia Portillo, 2005/02/12
- Re: [Qemu-devel] Re: Re: The QEMU Accelerator Module, Jean-Christian de Rivaz, 2005/02/12