From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRUWW-0001mm-PG for qemu-devel@nongnu.org; Wed, 02 Oct 2013 18:04:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRUWQ-0001ji-NJ for qemu-devel@nongnu.org; Wed, 02 Oct 2013 18:04:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:26430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRUWQ-0001jM-Fe for qemu-devel@nongnu.org; Wed, 02 Oct 2013 18:03:54 -0400 Message-ID: <1380751428.14443.5.camel@localhost.localdomain> From: Marcel Apfelbaum Date: Thu, 03 Oct 2013 01:03:48 +0300 In-Reply-To: <524C39E2.2080904@redhat.com> References: <1380717694-13091-1-git-send-email-marcel.a@redhat.com> <1380717694-13091-3-git-send-email-marcel.a@redhat.com> <524C39E2.2080904@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH RFC v2 2/9] hw/pci: add pci wrappers for allocating and asserting irqs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: kwolf@redhat.com, peter.maydell@linaro.org, peter.crosthwaite@xilinx.com, anthony@codemonkey.ws, mst@redhat.com, sw@weilnetz.de, jasowang@redhat.com, qemu-devel@nongnu.org, dkoch@verizon.com, keith.busch@intel.com, alex.williamson@redhat.com, kraxel@redhat.com, stefanha@redhat.com, dmitry@daynix.com, afaerber@suse.de, ehabkost@redhat.com On Wed, 2013-10-02 at 17:21 +0200, Paolo Bonzini wrote: > Il 02/10/2013 14:41, Marcel Apfelbaum ha scritto: > > +static inline void pci_irq_pulse(PCIDevice *pci_dev) > > +{ > > + pci_irq_lower(pci_dev); > > + pci_irq_raise(pci_dev); > > +} > > + > > Why is this in the opposite order, compared to qemu_irq_pulse? It is a bug, thank you for catching it! Marcel > > Paolo