From: Binarus <lists@binarus.de>
To: kvm@vger.kernel.org
Subject: Fritz!Card, MSIs and virtual machines
Date: Sat, 07 Jan 2012 18:52:30 +0100 [thread overview]
Message-ID: <4F08865E.4090702@binarus.de> (raw)
Dear all,
we are running a fairly complex fax system in a KVM guest.
The KVM host is Ubuntu 11.04 (64 bit), the guest is Windows 2003 R2 server.
The fax system needs ISDN hardware, so we have tried to passthrough a PCI ISDN card (AVM Fritz!card PCI) to the guest. We were partly successful:
The guest has recognized the hardware which we have passed through and runs like a charm, including the fax system.
But for passing through the PCI ISDN card, we had to deactivate two USB devices on the mainboard, i.e. we had to deactivate their normal linux drivers and handle the devices over to the PCI stub driver. This is a thing we surely don't want, so we are searching for a solution which makes this unnecessary.
Background:
The ISDN card is sharing it's interrupt with these two USB devices. As the KVM website states: PCI passthrough is only supported for devices which support MSIs IF these devices share an interrupt with other devices; this restriction does not apply for PCI-E devices. Needless to say that the Fritz!card is a PCI device and obviously does not support Message Signaled Interrupts.
So there are a few questions (if any of them is answered yes, our problem is solved):
- Does anybody know of a PCI-E ISDN card (hoping that our fax software will support it)?
- Does anybody know of a PCI ISDN card which supports MSIs (hoping that it's compatible to our fax system)?
- The KVM host (Ubuntu 11.04) currently runs a (customized) kernel 2.6.37. In the meantime, there are newer kernels. Is there a kernel which the issue mentioned above (PCI passthrough of devices with shared interrupts only if devices support MSIs) does not apply to? Please forgive that we're asking instead of testing, but this is a production server which we really are not allowed to play around with, and we currently don't get hands on a box with identical hardware.
- Is it possible to run a guest with a mixture of I/O virtualization technologies, i.e. run the most part of the guest by using KVM with VT-d and VT-x, but "emulate" the PCI device without using these technologies? I think that will not be possible, but it's worth asking since performance will not be the problem: some time ago, we have run the same guest under XEN 3.x (which had no problem with the PCI-ISDN passthrough) without VT-d or such with sufficient performance (although the hardware was slow compared to the current server).
Thank you very much for any ideas,
Peter
next reply other threads:[~2012-01-07 17:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-07 17:52 Binarus [this message]
2012-01-08 16:51 ` Fritz!Card, MSIs and virtual machines Andreas Färber
2012-01-29 7:09 ` Binarus
2012-01-09 11:49 ` Jan Kiszka
2012-01-29 6:56 ` Binarus
2012-08-16 17:21 ` rm
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=4F08865E.4090702@binarus.de \
--to=lists@binarus.de \
--cc=kvm@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox