* Issues with getting PCI pass-through to work
@ 2010-05-31 1:19 Adhyas Avasthi
2010-06-01 5:50 ` Adhyas Avasthi
0 siblings, 1 reply; 2+ messages in thread
From: Adhyas Avasthi @ 2010-05-31 1:19 UTC (permalink / raw)
To: kvm
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.
********************************************************************
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Issues with getting PCI pass-through to work
2010-05-31 1:19 Issues with getting PCI pass-through to work Adhyas Avasthi
@ 2010-06-01 5:50 ` Adhyas Avasthi
0 siblings, 0 replies; 2+ messages in thread
From: Adhyas Avasthi @ 2010-06-01 5:50 UTC (permalink / raw)
To: kvm
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.
********************************************************************
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-01 5:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-31 1:19 Issues with getting PCI pass-through to work Adhyas Avasthi
2010-06-01 5:50 ` Adhyas Avasthi
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.