From mboxrd@z Thu Jan 1 00:00:00 1970 From: Krishna J Subject: PCI device pass through support Date: Wed, 28 Nov 2012 16:32:35 +0000 Message-ID: References: <20121127215203.5751.6523.stgit@bling.home> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: "kvm@vger.kernel.org" To: Alex Williamson , "qemu-devel@nongnu.org" Return-path: Received: from dub0-omc2-s13.dub0.hotmail.com ([157.55.1.152]:1284 "EHLO dub0-omc2-s13.dub0.hotmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753259Ab2K1Qiv convert rfc822-to-8bit (ORCPT ); Wed, 28 Nov 2012 11:38:51 -0500 In-Reply-To: <20121127215203.5751.6523.stgit@bling.home> Sender: kvm-owner@vger.kernel.org List-ID: Hi Alex, I am trying to pass through a PCI device to the guest to=A0compare=A0th= e MSI=A0interrupt=A0latency with normal device pass=A0through=A0and pas= s 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 =A0 =A0 vendor=3D$(cat /sys/bus/pci/devices/$dev/vendor) =A0 =A0 device=3D$(cat /sys/bus/pci/devices/$dev/device) =A0 =A0 if [ -e /sys/bus/pci/devices/$dev/driver ]; then =A0 =A0 =A0 =A0 echo $dev > /sys/bus/pci/devices/$dev/driver/unbind =A0 =A0 fi =A0 =A0 echo $vendor $device > /sys/bus/pci/drivers/vfio-pci/new_id done and added "-device vfio-pci,host,host=3D0000:06:00.0" to my qemu comman= d line.=A0 I am getting Error - qemu-system-x86_64: -device vfio-pci,host,host=3D0= 000:06:00.0: Property 'vfio-pci.host' doesn't take value 'on'--=A0when = i use the qemu for your git repo and and=A0also=A0the latest v1.3.0-rc1= =A0qemu. I am using Kernel=A03.6.7-rt18. Am i missing step ? Krishna