qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alex Williamson <alex.williamson@redhat.com>
To: Krishna J <krishnamurthyjs@outlook.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: [Qemu-devel] PCI device pass through support
Date: Wed, 28 Nov 2012 10:00:34 -0700	[thread overview]
Message-ID: <1354122034.1809.193.camel@bling.home> (raw)
In-Reply-To: <DUB002-W130DDACB6C0F2FD3D180175AE5D0@phx.gbl>

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

  reply	other threads:[~2012-11-28 17:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-27 22:00 [Qemu-devel] [RFC PATCH 0/4] MSI affinity for assigned devices Alex Williamson
2012-11-27 22:00 ` [Qemu-devel] [RFC PATCH 1/4] kvm: Stub kvm_irqchip_update_msi_route Alex Williamson
2012-11-27 22:00 ` [Qemu-devel] [RFC PATCH 2/4] vfio-pci: Add support for MSI affinity Alex Williamson
2012-11-27 22:00 ` [Qemu-devel] [RFC PATCH 3/4] pci-assign: Refactor MSI virq array Alex Williamson
2012-11-27 22:01 ` [Qemu-devel] [RFC PATCH 4/4] pci-assign: Add MSI affinity support Alex Williamson
2012-11-27 23:08 ` [Qemu-devel] [RFC PATCH 0/4] MSI affinity for assigned devices Jan Kiszka
2012-11-27 23:21   ` Alex Williamson
2012-11-29  6:57     ` Jan Kiszka
2012-11-28 16:32 ` [Qemu-devel] PCI device pass through support Krishna J
2012-11-28 17:00   ` Alex Williamson [this message]
2013-01-07 20:14 ` [Qemu-devel] [RFC PATCH 0/4] MSI affinity for assigned devices Krishna J
2013-01-07 20:52   ` Alex Williamson
2013-01-07 21:22     ` Krishna J

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=1354122034.1809.193.camel@bling.home \
    --to=alex.williamson@redhat.com \
    --cc=krishnamurthyjs@outlook.com \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.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).