From: Bernhard Kohl Subject: Re: [PATCH] KVM: IOAPIC: Do not check polarity Date: Mon, 16 Mar 2009 22:30:34 +0000 (UTC) Message-ID: References: <49BCDAAD.7000706@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from main.gmane.org ([80.91.229.2]:41313 "EHLO ciao.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757122AbZCPWfJ (ORCPT ); Mon, 16 Mar 2009 18:35:09 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1LjLOg-0003RJ-LG for kvm@vger.kernel.org; Mon, 16 Mar 2009 22:35:02 +0000 Received: from p5794A3DB.dip.t-dialin.net ([87.148.163.219]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Mar 2009 22:35:02 +0000 Received: from bernhard.kohl by p5794A3DB.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Mar 2009 22:35:02 +0000 Sender: kvm-owner@vger.kernel.org List-ID: Avi Kivity redhat.com> writes: > > While qemu uses active-high interrupts throughout, kvm is meant to be > useful with other userspace (or for emulating other chipsets) and thus > needs correct polarity emulation. > > If the guest programs polarity to active-low, this indicates either a > guest bug or a bios bug. Is it possible the bios does not communicate > the fact that pci interrupts are active high correctly? > The guest gets the polarity from the BIOS MP table, which I added. I defined the polarity and trigger mode "low level". I will change that to "high level". Need to wait for testing until next week.