Re: Prevent IRQ sharing for PCI passthrough

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Avi Kivity (avi@xxxxxxxxxx) wrote:
> On 05/13/2010 07:57 PM, Dirk Gouders wrote:
> >Hello List,
> >
> >please don't shout at me if the answer to my question is too obvious,
> 
> We won't shout at you.
> 
> >but in the German Linux Magazine I read an article about passing PCI
> >devices to KVM guests and the authors said that "shared interrupt
> >funcionality has to be disabled" which I read as "it is possible to
> >disable shared interrupt functionality".
> 
> It would be more correct to say "no go with shared host interrupts".
> 
> >I currently have the problem with a PCI ISDN card that is not MSI
> >capable and even if I change the PCI slot and disable all other slots,
> >USB etc. in the BIOS, that card still shares its interrupt with three
> >other devices.
> >
> >Even after extensive searching/reading, I am not sure if it possible to
> >prevent a PCI card from sharing an interrupt with other devices or
> >probably manually assign a free interrupt to that card via some kernel
> >parameter and would be glad if someone could give me an answer to that
> >question.
> 
> There is an ACPI _SRS method which can be used to move interrupts
> around.  However Linux doesn't appear to expose it.  Even if it did,
> the interrupt may be shared on the motherboard, in which case
> nothing would help (though you might be able to share it with unused
> devices).

The only way to work around this is to unbind the other drivers that
are sharing that interrupt.  This may not work if the other devices are
critical to you system (it's typically sharing w/ USB Host Controller).

Otherwise, we can't support this mode easily (there is some work in
progress to allow this to work if your ISDN device is PCI 2.3
compliant).

thanks,
-chris
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux