From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adhyas Avasthi Subject: Re: Issues with getting PCI pass-through to work Date: Mon, 31 May 2010 22:50:32 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: QUOTED-PRINTABLE To: kvm@vger.kernel.org Return-path: Received: from mail-yw0-f179.google.com ([209.85.211.179]:62562 "EHLO mail-yw0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751671Ab0FAFud convert rfc822-to-8bit (ORCPT ); Tue, 1 Jun 2010 01:50:33 -0400 Received: by ywh9 with SMTP id 9so3257544ywh.17 for ; Mon, 31 May 2010 22:50:33 -0700 (PDT) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Tried working on it a bit more. Now it complains that it cannot find IO= MMU. 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 wrot= e: > 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=3D0c:00.0,name=3Dabcd 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 de= vice? > > 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. > =A0 =A0=97 ANSI C Standard, 3.1.2.6. > ******************************************************************** > --=20 Adhyas ******************************************************************** Two types have compatible type if their types are the same. =97 ANSI C Standard, 3.1.2.6. ********************************************************************