From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tdl0T-00089P-II for qemu-devel@nongnu.org; Wed, 28 Nov 2012 12:01:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tdl0N-0003mj-Rh for qemu-devel@nongnu.org; Wed, 28 Nov 2012 12:01:05 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40459) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tdl0N-0003mK-Kl for qemu-devel@nongnu.org; Wed, 28 Nov 2012 12:00:59 -0500 Message-ID: <1354122034.1809.193.camel@bling.home> From: Alex Williamson Date: Wed, 28 Nov 2012 10:00:34 -0700 In-Reply-To: References: <20121127215203.5751.6523.stgit@bling.home> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] PCI device pass through support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Krishna J Cc: "qemu-devel@nongnu.org" , "kvm@vger.kernel.org" On Wed, 2012-11-28 at 16:32 +0000, Krishna J wrote: > Hi Alex, > I am trying to pass through a PCI device to the guest to compare the > MSI interrupt latency with normal device pass through and pass through > using VFIO framework. I used the following script > > for dev in $(ls /sys/bus/pci/devices/0000:06:00.0/iommu_group/devices); do > vendor=$(cat /sys/bus/pci/devices/$dev/vendor) > device=$(cat /sys/bus/pci/devices/$dev/device) > if [ -e /sys/bus/pci/devices/$dev/driver ]; then > echo $dev > /sys/bus/pci/devices/$dev/driver/unbind > fi > echo $vendor $device > /sys/bus/pci/drivers/vfio-pci/new_id > done > > and added "-device vfio-pci,host,host=0000:06:00.0" to my qemu command line. ^^^^^ > I am getting Error - qemu-system-x86_64: -device > vfio-pci,host,host=0000:06:00.0: Property 'vfio-pci.host' doesn't take > value 'on'-- when i use the qemu for your git repo and and also the > latest v1.3.0-rc1 qemu. I am using Kernel 3.6.7-rt18. Am i missing > step ? Hi Krishna, There's an extra "host," in the option above, is that the problem? Please let me know if I've mis-documented it anywhere. I hope you can share your results when you get it working. Thanks, Alex