From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M78FA-0002nV-77 for qemu-devel@nongnu.org; Thu, 21 May 2009 09:23:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M78F5-0002kK-Dm for qemu-devel@nongnu.org; Thu, 21 May 2009 09:23:31 -0400 Received: from [199.232.76.173] (port=53685 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M78F5-0002k2-47 for qemu-devel@nongnu.org; Thu, 21 May 2009 09:23:27 -0400 Received: from mx20.gnu.org ([199.232.41.8]:56450) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M78F2-0000Xs-9J for qemu-devel@nongnu.org; Thu, 21 May 2009 09:23:24 -0400 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M78F1-0006hh-4r for qemu-devel@nongnu.org; Thu, 21 May 2009 09:23:23 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH] qemu: msi irq allocation api Date: Thu, 21 May 2009 14:23:20 +0100 References: <20090520162130.GA22109@redhat.com> <200905211409.33325.paul@codesourcery.com> <20090521131231.GH25309@redhat.com> In-Reply-To: <20090521131231.GH25309@redhat.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905211423.20843.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Carsten Otte , kvm@vger.kernel.org, Rusty Russell , qemu-devel@nongnu.org, virtualization@lists.linux-foundation.org, Christian Borntraeger , Avi Kivity > > MSI provides multiple edge triggered interrupts, whereas traditional mode > > provides a single level triggered interrupt. My guess is most devices > > will want to treat these differently anyway. > > So, is qemu_send_msi better than qemu_set_irq. Neither. pci_send_msi, which is a trivial wrapper around stl_phys. Paul