From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BT6aS-0004Qi-AX for qemu-devel@nongnu.org; Wed, 26 May 2004 18:09:24 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BT6Zv-0004JA-Bt for qemu-devel@nongnu.org; Wed, 26 May 2004 18:09:22 -0400 Received: from [194.90.9.20] (helo=mxout1.netvision.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BT6DE-0007ct-Bl for qemu-devel@nongnu.org; Wed, 26 May 2004 17:45:24 -0400 Received: from [192.168.1.11] ([212.235.116.233]) by mxout1.netvision.net.il (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTPA id <0HYC002S5CFNRZ@mxout1.netvision.net.il> for qemu-devel@nongnu.org; Thu, 27 May 2004 00:45:23 +0300 (IDT) Date: Thu, 27 May 2004 00:45:22 +0300 From: Hetz Ben Hamo Subject: Re: [Qemu-devel] PCI: Memory mapped / ROM resources In-reply-to: <1085603535.4321.8.camel@sherbert> Message-id: <200405270045.22891.hetz@witch.dyndns.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7BIT Content-disposition: inline References: <1085582014.20025.11.camel@sherbert> <40B4FC37.7080601@bellard.org> <1085603535.4321.8.camel@sherbert> Reply-To: hetz@witch.dyndns.org, 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 > I'm adding a host PCI proxy layer that works under Linux, ie: make host > PCI devices appear within the emulator. Similar to 'pcidev' on bochs, > but without a custom kernel module, and some minor performance > enhancements. I ought to have a patch ready by tomorrow evening. > > It's not amazingly urgent really, don't kill yourself over it, I'll > probably get around to adding it later myself. > > PS. I am using mmap() on /proc/pci/bus/XX/YY.Z nodes to map PCI > registers, probably there is a nice way to allow the code generator to > generate accesses directly on to these vmas? It's probably not that much > of a win in any case, but interesting. Let me see if I get this straight: With your patches, will I be able to use a real PCI card within the emulator? for example: Would I be able to use a PCI graphics card which is not being used by XFree under Linux? Also, if you plan to use real PCI cards under guest OS, you might need to create some "locking" mechanism so that the host OS cannot use them, nor another instance of QEMU which will run in parallel (and I see already few people running few QEMU instances at once ;) Thanks, Hetz