From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH] kvm: set gsi_bits and max_gsi correctly Date: Tue, 10 Apr 2012 23:14:43 -0300 Message-ID: <20120411021443.GA15781@amt.cnet> References: <201203281818.q2SII5ng021559@int-mx11.intmail.prod.int.phx2.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, qemu-devel@nongnu.org, jan.kiszka@siemens.com, alex.williamson@redhat.com To: Jason Baron Return-path: Received: from mx1.redhat.com ([209.132.183.28]:54046 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754958Ab2DKCS3 (ORCPT ); Tue, 10 Apr 2012 22:18:29 -0400 Content-Disposition: inline In-Reply-To: <201203281818.q2SII5ng021559@int-mx11.intmail.prod.int.phx2.redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Mar 28, 2012 at 02:18:05PM -0400, Jason Baron wrote: > The current kvm_init_irq_routing() doesn't set up the used_gsi_bitmap > correctly, and as a consequence pins max_gsi to 32 when it really > should be 1024. I ran into this limitation while testing pci > passthrough, where I consistently got an -ENOSPC return from > kvm_get_irq_route_gsi() called from assigned_dev_update_msix_mmio(). > > Signed-off-by: Jason Baron Applied to uq/master, thanks.