Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EwJLT-0000qm-L4 for qemu-devel@nongnu.org; Tue, 10 Jan 2006 08:15:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EwJJR-0000DT-L8 for qemu-devel@nongnu.org; Tue, 10 Jan 2006 08:13:22 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EwIDb-0005Hv-Qk for qemu-devel@nongnu.org; Tue, 10 Jan 2006 07:03:17 -0500 Received: from [83.160.184.112] (helo=xi.wantstofly.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EwIG3-0007oN-HL for qemu-devel@nongnu.org; Tue, 10 Jan 2006 07:05:47 -0500 Date: Tue, 10 Jan 2006 13:01:09 +0100 From: Lennert Buytenhek Subject: Re: [Qemu-devel] Interest in hardware plugin functionality Message-ID: <20060110120109.GA17360@xi.wantstofly.org> References: <16af12af0601091738t2fbe336td1f7cfc19b832606@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16af12af0601091738t2fbe336td1f7cfc19b832606@mail.gmail.com> 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 Mon, Jan 09, 2006 at 05:38:58PM -0800, Andre Pech wrote: > I have been using qemu to simulate various types of custom hardware > for testing purposes. Rather than having to recompile qemu every time > I change a hardware simulation, I instead patched qemu to support > dynamically loading hardware plugin files at run time. The basic idea > is that you can specify .so files to load on the command line when you > boot qemu. These files will be dlopened by qemu at run time, and will > register themselves as hardware to the appropriate hardware controller > (ie a PCI device hardware plugin registers itself with the PCI bus). I think the biggest problem would be that a lot of operating systems don't support hotplug PCI. --L