Re: PCI passthrough resource remapping

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

 



* Kenni Lund (kenni@xxxxxxx) wrote:
> 2010/3/31 Chris Wright <chrisw@xxxxxxxxxx>:
> >> So I suppose I'll need to get rid of this shared IRQ before I can
> >> conclude anything on the patch in git. Hmm, is there some cleaver way
> >> of fixing this in Linux, or do I have to fix it by changing BIOS IRQ
> >> settings, disabling hardware and/or moving the hardware around in
> >> various PCI slots?
> >
> > The way I typically work around this is simply unbinding the driver from
> > the device in the host (and thus freeing the irq).
> 
> Doh...anyway, I went all the way, found a USB->PS2 adaptor, disabled
> the onboard USB controller and PATA controller in BIOS, and now got
> "kvm_assigned_intx_device" for all 4 IRQs :)

A little extreme...but hey, that works ;-)  I'm still curious what's
going on w/ your PCI card and the irq routing.  Something is suspect.

> Booting the guest and tuning to a DVB-T channel _works_ !!! :-D Thanks
> a lot for your help...I have one more question, though: If I have two
> devices (like the ivtv tuner and the USB card) and they share an IRQ,
> if I then assign BOTH of them to the same guest, will it then work?

No, it won't.  The first one will request an exclusive interrupt, and the
second one will fail its request_irq.  There's two options, one is to
use a different driver for kvm (if the device is new enough to handle
PCI 2.3) or use MSI/MSI-X based devices (that works best ;)  Neither of
those options are readily available in your case.

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