From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uq03h-0004wZ-EB for qemu-devel@nongnu.org; Fri, 21 Jun 2013 08:03:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uq03f-0002Ju-GR for qemu-devel@nongnu.org; Fri, 21 Jun 2013 08:03:17 -0400 Message-ID: <1371816181.3944.58.camel@pasglop> From: Benjamin Herrenschmidt Date: Fri, 21 Jun 2013 22:03:01 +1000 In-Reply-To: References: <1371806575-19347-1-git-send-email-aik@ozlabs.ru> <1371806575-19347-3-git-send-email-aik@ozlabs.ru> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/3] KVM: add kvm_arch_irqchip_add_msi_route List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Anthony Liguori , Alexey Kardashevskiy , qemu-devel@nongnu.org, Alex Williamson , qemu-ppc@nongnu.org, David Gibson On Fri, 2013-06-21 at 12:33 +0200, Alexander Graf wrote: > > +int kvm_arch_irqchip_add_msi_route(KVMState *s, MSIMessage msg) > > +{ > > + if (!kvm_msi_via_irqfd_allowed) > > + return -1; > > + > > + msg.address -= spapr->msi_win_addr; > > + return (msg.address >> 2) + msg.data; > > This breaks BookE. It might be a bit more constructive to explain why and maybe propose a solution... Alexey doesn't necessarily know the specifics of the BookE stuff :-) Cheers, Ben.