From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LDrUd-0003F4-Bj for qemu-devel@nongnu.org; Fri, 19 Dec 2008 21:23:03 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LDrUc-0003EU-Mn for qemu-devel@nongnu.org; Fri, 19 Dec 2008 21:23:03 -0500 Received: from [199.232.76.173] (port=55734 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDrUc-0003EB-GS for qemu-devel@nongnu.org; Fri, 19 Dec 2008 21:23:02 -0500 Received: from fg-out-1718.google.com ([72.14.220.156]:38669) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LDrUc-0008Nd-5c for qemu-devel@nongnu.org; Fri, 19 Dec 2008 21:23:02 -0500 Received: by fg-out-1718.google.com with SMTP id l26so491870fgb.8 for ; Fri, 19 Dec 2008 18:22:59 -0800 (PST) Message-ID: <3ea34a000812191822r6a44762fwbe3800a30185e558@mail.gmail.com> Date: Fri, 19 Dec 2008 21:22:59 -0500 From: "Christopher Friedt" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Qemu-devel] example pci code ? stubs ? 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, I've been using qemu for a long time, and now I'm hoping to use it for a project at work - an arm coprocessor over the pci bus. I'm hoping to design all of the software that I will need, including a kernel module and userspace libraries, before creating a pcb to have shipped out. I already have all of the main chips in my BOM determined. Actually, I'm using the BeagleBoard as a reference design, which has a TI OMAP 3530 ARMv7 chip. I've been hacking at the qemu code for quite some time now - a few months actually. I've included my .h in pci.h, and called the init() in pc.c. My card's init() prints 'Hello, World!\n' to stdout when qemu starts, but I have yet to see my card with 'lspci'. Is it possible for one of the qemu developers with a bit more experience with Qemu to write code for basic PCI card, as well as code for a kernel module, so that 'lspci' will actually show the card? This is a bit of a 'jump-start' for would-be Qemu developers, and could easily be included in the sources for distribution. Cheers, Chris