From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nuje0-0002iU-QK for qemu-devel@nongnu.org; Thu, 25 Mar 2010 05:46:28 -0400 Received: from [140.186.70.92] (port=55466 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nujdz-0002gW-AU for qemu-devel@nongnu.org; Thu, 25 Mar 2010 05:46:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nujdx-0002VE-VW for qemu-devel@nongnu.org; Thu, 25 Mar 2010 05:46:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1031) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nujdx-0002V6-Mz for qemu-devel@nongnu.org; Thu, 25 Mar 2010 05:46:25 -0400 Message-ID: <4BAB30EE.4020509@redhat.com> Date: Thu, 25 Mar 2010 11:46:22 +0200 From: Avi Kivity MIME-Version: 1.0 References: <1269497376-21903-1-git-send-email-cam@cs.ualberta.ca> In-Reply-To: <1269497376-21903-1-git-send-email-cam@cs.ualberta.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH v3 1/1] Shared memory uio_pci driver List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cam Macdonell Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org On 03/25/2010 08:09 AM, Cam Macdonell wrote: > This patch adds a driver for my shared memory PCI device using the uio_pci > interface. The driver has three memory regions. The first memory region is for > device registers for sending interrupts. The second BAR is for receiving MSI-X > interrupts and the third memory region maps the shared memory. The device only > exports the first and third memory regions to userspace. > > This driver supports MSI-X and regular pin interrupts. Currently, the number of > MSI vectors is set to 4 which could be increased, but the driver will work with > fewer vectors. If MSI is not available, then regular interrupts will be used. > There is now a generic PCI 2.3 driver that can handle all PCI devices. It doesn't support MSI, but if we add MSI support then it can be used without the need for a specialized driver. -- error compiling committee.c: too many arguments to function