From: Adhyas Avasthi <adhyas@gmail.com>
To: kvm@vger.kernel.org
Subject: Re: Issues with getting PCI pass-through to work
Date: Mon, 31 May 2010 22:50:32 -0700 [thread overview]
Message-ID: <AANLkTim14XSnagSkgxh89j__HBFDwZRFRC98ds8qzzMY@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimzXJ9ISHB6RglBugtK2ZjWWi_hWTP_8YzBjLiW@mail.gmail.com>
Tried working on it a bit more. Now it complains that it cannot find IOMMU.
This is an Intel Montevina chipset with DMA remapping support (VT-d).
Any pointers as to why it is not finding the support?
The message is coming from hw/device-assignment.c after the call to
kvm_check_extension for IOMMU fails.
The corresponding ioctl code in kvm-kmod lands in iommu_found(), which
I believe is reporting false.
I am wondering if kvm-kmod driver has support for Intel VT-d (Intel
Cantiga chipsets etc) ? Can PCI pass-through work without IOMMU?
Thanks,
Adhyas
On Sun, May 30, 2010 at 6:19 PM, Adhyas Avasthi <adhyas@gmail.com> wrote:
> I have a PCI WLAN controller that I wish to pass-through to the
> standard linux-img VM (downloaded from qemu website).
> When I try "qemu-kvm -pcidevice host=0c:00.0,name=abcd linux-0.2.img"
> The VM does boot up but does not see the device.
>
> On the command prompt, I see the following message:
> Failed to assign irq for "abcd": Operation not supported
> Perhaps you are assigning a device that shares an IRQ with another device?
>
> I want to know what does this message exactly mean? Is PCI
> pass-through having the requirement of reconfiguring the IRQ of my
> host devices before I can pass them through? Can I configure qemu-kvm
> somehow to emulate the IRQ (and other registers) instead of trying to
> pass-through the IRQ etc?
>
> BTW, my box has VT and VT-d enabled in BIOS.
>
> --
> Adhyas
> ********************************************************************
> Two types have compatible type if their types are the same.
> — ANSI C Standard, 3.1.2.6.
> ********************************************************************
>
--
Adhyas
********************************************************************
Two types have compatible type if their types are the same.
— ANSI C Standard, 3.1.2.6.
********************************************************************
prev parent reply other threads:[~2010-06-01 5:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-31 1:19 Issues with getting PCI pass-through to work Adhyas Avasthi
2010-06-01 5:50 ` Adhyas Avasthi [this message]
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=AANLkTim14XSnagSkgxh89j__HBFDwZRFRC98ds8qzzMY@mail.gmail.com \
--to=adhyas@gmail.com \
--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;
as well as URLs for NNTP newsgroup(s).