From: Jan Kiszka <jan.kiszka@web.de>
To: "Michael S. Tsirkin" <mst@redhat.com>,
Alex Williamson <alex.williamson@redhat.com>,
kvm <kvm@vger.kernel.org>
Subject: Device assignment, shared IRQs, uio_pci_generic
Date: Sat, 30 Oct 2010 17:58:30 +0200 [thread overview]
Message-ID: <4CCC40A6.7080008@web.de> (raw)
[-- 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 --]
next reply other threads:[~2010-10-30 16:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-30 15:58 Jan Kiszka [this message]
2010-10-30 17:06 ` Device assignment, shared IRQs, uio_pci_generic Alex Williamson
2010-10-31 15:05 ` Jan Kiszka
2010-11-01 11:27 ` Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CCC40A6.7080008@web.de \
--to=jan.kiszka@web.de \
--cc=alex.williamson@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mst@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.