From: Sebastian Hetze <s.hetze@linux-ag.com>
To: Inigo Losada <ilosada@ibex.es>
Cc: kvm@vger.kernel.org
Subject: Re: pci passthrough with KVM
Date: Wed, 29 Sep 2010 10:56:10 +0200 [thread overview]
Message-ID: <20100929085611.36098409000B@mail.linux-ag.de> (raw)
In-Reply-To: <948322C1-8652-425D-B749-44AA2EEC0419@ibex.es>
On Tue, Sep 28, 2010 at 10:27:18AM +0200, Inigo Losada wrote:
> We are using pci passthrough with an SCSI Adapter card. The system is:
>
> - O.S: Ubuntu 10.04.1 LTS
> - KVM Packages:
>
> kvm 1:84+dfsg-0ubuntu16+0.12.3+noroms+0ubuntu9.2
> kvm-pxe 5.4.4-1ubuntu1
> qemu-kvm 0.12.3+noroms-0ubuntu9.2
> libvirt-bin 0.7.5-5ubuntu27.2
> python-libvirt 0.7.5-5ubuntu27.2
> libvirt0 0.7.5-5ubuntu27.2
>
> - Kernel 2.6.32.15+drm33.5.iommu recompiled with following options :
>
> CONFIG_DMAR=y
> CONFIG_INTR_REMAP=y
>
> - Apparmor is stopped
>
> When we started the virtual machine we obtain the following error:
>
> char device redirected to /dev/pts/3
> device: 04:04.0: driver="pci-assign" host="04:04.0"
> Failed to assign irq for "04:04.0": Operation not permitted
> Perhaps you are assigning a device that shares an IRQ with another device?
So do you?
The notes in
http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM
give you this information:
* VT-d spec specifies that all conventional PCI devices behind a
* PCIe-to PCI/PCI-X bridge or conventional PCI bridge can only be
* collectively assigned to the same guest. PCIe devices do not have
* this restriction.
* If the device doesn't support MSI, and it shares IRQ with other
* devices, then it cannot be assigned due to host irq sharing for
* assigned devices is not supported. You will get warning message
* when you assign it. Notice this also apply to the devices which
* only support MSI-X.
What do you find in /proc/interrupts ?
Best regards,
Sebastian
next prev parent reply other threads:[~2010-09-29 9:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-28 8:27 pci passthrough with KVM Inigo Losada
2010-09-28 18:26 ` Alex Williamson
2010-09-29 8:56 ` Sebastian Hetze [this message]
2010-09-30 9:38 ` Inigo Losada
2010-09-30 15:53 ` Sebastian Hetze
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=20100929085611.36098409000B@mail.linux-ag.de \
--to=s.hetze@linux-ag.com \
--cc=ilosada@ibex.es \
--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 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.