All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wright <chrisw@sous-sol.org>
To: "Ren, Yongjie" <yongjie.ren@intel.com>
Cc: KVM General <kvm@vger.kernel.org>
Subject: Re: how to assign a pci device to guest [with qemu.git upstream]?
Date: Wed, 28 Sep 2011 17:56:47 -0700	[thread overview]
Message-ID: <20110929005647.GD19141@sequoia.sous-sol.org> (raw)
In-Reply-To: <CE59C043D0EC3349B2BF41C0EC72229B12D3868D36@shsmsx501.ccr.corp.intel.com>

* Ren, Yongjie (yongjie.ren@intel.com) wrote:
> I'm using kvm and qemu upstream on https://github.com/avikivity
> The following command line was right for me about three weeks ago, but now I meet some error.
> # qemu-system-x86_64 -m 1024 -smp 2 -device pci-assign,host=0e:00.0 -hda /root/rhel6u1.img
> output error is like following.
> qemu-system-x86_64: -device pci-assign,host=0d:00.0: Parameter 'driver' expects a driver name
> Try with argument '?' for a list.

Looks like you don't have device assignment support compiled in.
Start with the basics (assuming tree has hw/device-assignment.c):

did your ./configure output show:

KVM device assig. yes

and does your binary agree?

qemu-system-x86_64 -device ? 2>&1 | grep pci-assign

thanks,
-chris

  reply	other threads:[~2011-09-29  0:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-25  3:48 how to assign a pci device to guest [with qemu.git upstream]? Ren, Yongjie
2011-09-29  0:56 ` Chris Wright [this message]
2011-09-29  3:04   ` Ren, Yongjie
2011-09-29  3:59     ` Chris Wright
2011-09-29  4:33       ` Chris Wright
2011-09-29  5:28         ` Ren, Yongjie
2011-10-02 10:00           ` Avi Kivity

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=20110929005647.GD19141@sequoia.sous-sol.org \
    --to=chrisw@sous-sol.org \
    --cc=kvm@vger.kernel.org \
    --cc=yongjie.ren@intel.com \
    /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 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.