All of lore.kernel.org
 help / color / mirror / Atom feed
* Device assignment, shared IRQs, uio_pci_generic
@ 2010-10-30 15:58 Jan Kiszka
  2010-10-30 17:06 ` Alex Williamson
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2010-10-30 15:58 UTC (permalink / raw)
  To: Michael S. Tsirkin, Alex Williamson, kvm

[-- Attachment #1: Type: text/plain, Size: 753 bytes --]

Hi all,

trying to pass some host device to a KVM guest (for driver hacking), I
ran into massive IRQ sharing issues on the host. Classic device
assignment refuses to work in this case. I remembered uio_pci_generic,
which I thought was once designed to resolve this conflict. But it isn't
used by KVM or qemu, is it?

So I crossed fingers and hacked IRQF_SHARED into
assigned_device_enable_host_intx. Effect as expected: assignment work,
host gets massive hick-ups (the graphic adapter is another user of this
line...).

Are there already VFIO patches ready for testing that work with shared
IRQs as well? And/or would it make sense to integrate IRQ sharing via
PCI-level IRQ masking to the KVM core until VFIO becomes standard?

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-01 11:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-30 15:58 Device assignment, shared IRQs, uio_pci_generic Jan Kiszka
2010-10-30 17:06 ` Alex Williamson
2010-10-31 15:05   ` Jan Kiszka
2010-11-01 11:27     ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.