From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Baron Subject: [PATCH 0/2] qemu kvm: correct gsi bitmap Date: Tue, 27 Mar 2012 17:00:23 -0400 Message-ID: Cc: qemu-devel@nongnu.org, jan.kiszka@siemens.com, mst@redhat.com, alex.williamson@redhat.com, avi@redhat.com, aliguori@us.ibm.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:49829 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754403Ab2C0VAb (ORCPT ); Tue, 27 Mar 2012 17:00:31 -0400 Sender: kvm-owner@vger.kernel.org List-ID: Hi, While testing pci passthrough, I ran out of gsi bits, b/c the bitmap is not initialized correctly. Fix the initialization of the bitmap, and add extra error reporting for this condition. Thanks, -Jason Jason Baron (2): qemu kvm: Set up gsi bitmap correctly qemu kvm: add better error reporting when kvm_get_irq_route_gsi() fails hw/device-assignment.c | 4 +++- kvm-all.c | 4 ++-- qemu-kvm.c | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-)