Re: [PATCH] kvm-ia64 irq assignment 1/2 kernel

Avi Kivity
2008-06-12T12:26:14Z

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.