From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] kvm-ia64 irq assignment 1/2 kernel Date: Thu, 12 Jun 2008 15:24:05 +0300 Message-ID: <48511565.60005@qumranet.com> References: <51CFAB8CB6883745AE7B93B3E084EBE201CC875F@pdsmsx412.ccr.corp.intel.com> <484996EE.8060600@qumranet.com> <484CF0AA.7010302@suse.de> <484CF4EA.1030406@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Xu, Anthony" , Jes Sorensen , kvm@vger.kernel.org, kvm-ia64@vger.kernel.org To: Alexander Graf Return-path: Received: from il.qumranet.com ([212.179.150.194]:40285 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753107AbYFLM0O (ORCPT ); Thu, 12 Jun 2008 08:26:14 -0400 In-Reply-To: <484CF4EA.1030406@suse.de> Sender: kvm-owner@vger.kernel.org List-ID: Alexander Graf wrote: >> >> Apparently this is broken on x86 too. I was just trying this patch >> with Mac OS X as target and magically the in-kernel APIC starts >> working, so I guess something is going wrong already here. >> Btw, according to the ACPI tables, all PCI interrupts are currently >> defined Active-Low. > So there's something else wrong. > Sorry, ActiveHigh that is. Nevertheless I am having trouble with this > since the very first time I used osx inside KVM. Does PCI allow Active > > > Interrupt (, Level, ActiveHigh, Shared) > > According to the PCI 3.0 Spec, "Interrupts on PCI are optional and > defined as 'level sensitive,' asserted low (negative true)". The pci interrupts are active low, but they are converted to active high by the chipset qemu emulates, so active high is correct. Does OS X boot from the qemu bios or something else? If the latter, it may need adjustment. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.