Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BM1vg-000319-AA for qemu-devel@nongnu.org; Fri, 07 May 2004 05:46:04 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BM1uD-0000nv-Ii for qemu-devel@nongnu.org; Fri, 07 May 2004 05:45:05 -0400 Received: from [213.86.99.235] (helo=pentafluge.infradead.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1BM1u7-0000Ps-M0 for qemu-devel@nongnu.org; Fri, 07 May 2004 05:44:27 -0400 Received: from [213.86.99.236] (helo=[172.16.18.64]) by pentafluge.infradead.org with asmtp (Exim 4.30 #5 (Red Hat Linux)) id 1BM1u0-0003o1-Nb for qemu-devel@nongnu.org; Fri, 07 May 2004 10:44:20 +0100 Subject: Re: [Qemu-devel] Impractical ideas? From: David Woodhouse In-Reply-To: References: Content-Type: text/plain Message-Id: <1083923060.4526.186.camel@hades.cambridge.redhat.com> Mime-Version: 1.0 Date: Fri, 07 May 2004 10:44:20 +0100 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Thu, 2004-05-06 at 17:08 +0100, Robert Wittams wrote: > Hi, > > Having installed Win2k and various Linuxes under qemu, I've got all excited > at the potential of this project, and have been entertaining all kinds of > possibly impractical ideas... > > I was wondering if anyone had thought of using Qemu + a special kernel > module to do reverse engineering of binary or windows only drivers. > > I'm not sure if I'm missing something really obvious, but it seems like the > following should be possible: > > Run a virtual machine in qemu with, for example, the binary nvidia drivers > on a linux system. On the host, a kernel module is configured that can > perform any operations on the hardware that are necessary (io writes and > dma, etc) and report interrupts to qemu. Someone was muttering the other day about the possibility of putting qemu in the kernel and using it to run i386 binary-only modules in non-i386 host kernels. I think it's a sick idea, but I might look at it anyway. After all, it's no worse than running the ACPI crap in an interpreter. -- dwmw2