From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hm742-0004nX-An for qemu-devel@nongnu.org; Thu, 10 May 2007 07:44:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hm740-0004kj-LE for qemu-devel@nongnu.org; Thu, 10 May 2007 07:44:05 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hm740-0004kV-Dv for qemu-devel@nongnu.org; Thu, 10 May 2007 07:44:04 -0400 Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Hm6wg-0007hB-UU for qemu-devel@nongnu.org; Thu, 10 May 2007 07:36:31 -0400 Message-ID: <464303B9.2050308@gmx.at> Date: Thu, 10 May 2007 13:36:25 +0200 From: Clemens Kolbitsch MIME-Version: 1.0 References: <20070504203016.2791gmx1@mx033.gmx.net> In-Reply-To: <20070504203016.2791gmx1@mx033.gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Getting started programming a HW Device 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 Hi everyone! Could someone please point out some links to a good documentation and/or tutorial on how to write hardware devices for qemu? I have been reading through the parallel & ne2k code and - although it is not that hard - just do not get all the information necessary it seems. are there some places, where functions like - qemu_chr_ioctl - cpu_register_io_memory - pci_register_io_memory - pci_register_device - etc. are described shortly (or even in more detail ;-) )? My current problem is the following: While loading a module in the client-os it get the error "cannot reserve PCI memory region" (from the dadwifi (yes - not madwifi) ath_pci module). What do i have to do in order to get this right? cheers!