qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alex Williamson <alex.williamson@redhat.com>
To: lejeczek <peljasz@yahoo.co.uk>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] a user here - pci-assign
Date: Fri, 28 Sep 2012 10:05:23 -0600	[thread overview]
Message-ID: <1348848323.2320.344.camel@ul30vt.home> (raw)
In-Reply-To: <506573E2.9030604@yahoo.co.uk>

On Fri, 2012-09-28 at 10:54 +0100, lejeczek wrote:
> hi everybody,
> 
> I've decided to bother you guys for user list seems.. quiet, 
> no, really.
> 
> so, novice type of question, where/how do I get hold of the 
> values for below options?
> I don't read the code, ain't no programmer, I can't figure 
> out how to get hold of the values for
> 
> pci-assign.host=pci-hostaddr
> pci-assign.iommu=uint32
> pci-assign.bootindex=int32
> pci-assign.configfd=string
> pci-assign.addr=pci-devfn
> pci-assign.romfile=string
> pci-assign.rombar=uint32
> pci-assign.multifunction=on/off
> 
> and, would this be complete list (I saw a bug report online) 
> for qemu-kvm-0.12.1.2-2.295.el6_3.2.x86_64 ?
> any user-friendly docs on it? I am tampering with VGAs but 
> cannot get it to work, some partial success though.

These aren't the droids you're looking for to get assignment of VGA
devices to work.  romfile is maybe the only interesting one, but only if
qemu can't read it directly.

All of these are options that get specified after:

-device pci-assign

> pci-assign.host=pci-hostaddr

host=2:00.0 (specifies assigning host PCI device 2:00.0)

> pci-assign.iommu=uint32

deprecated, don't bother with this

> pci-assign.bootindex=int32

boot ordering, not useful for VGA

> pci-assign.configfd=string

pass an already open file descriptor for config space access, for
libvirt managed guests only

> pci-assign.addr=pci-devfn

addr=3.0 (specifies the guest PCI address where the device is exposed)

> pci-assign.romfile=string

specifies a file to use as the PCI option ROM, unless you see a warning
about not being able to read the ROM, this probably isn't going to help
you.

> pci-assign.rombar=uint32

rombar=0 disables the PCI option ROM, for cases where it doesn't work or
you don't want it.

> pci-assign.multifunction=on/off

for specifying multifunction devices, ex:

-device pci-assign,host=2:00.0,addr=3.0,multifunction=on \
-device pci-assign,host=2:00.1,addr=3.1

Thanks,

Alex

  reply	other threads:[~2012-09-28 16:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-28  9:54 [Qemu-devel] a user here - pci-assign lejeczek
2012-09-28 16:05 ` Alex Williamson [this message]
2012-09-28 18:46   ` lejeczek
2012-09-28 19:48     ` Alex Williamson
2012-10-01 11:10       ` lejeczek
2012-10-01 13:51         ` Alex Williamson
2012-10-02  7:46           ` lejeczek
2012-10-02 15:33             ` Michael Roth
2012-10-03 14:30               ` lejeczek
2012-10-03 14:46                 ` Alex Williamson
2012-11-06 13:17                   ` [Qemu-devel] a user here - pci-assign VGA lejeczek
2012-10-01 14:04         ` [Qemu-devel] a user here - pci-assign lejeczek

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=1348848323.2320.344.camel@ul30vt.home \
    --to=alex.williamson@redhat.com \
    --cc=peljasz@yahoo.co.uk \
    --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).