From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THd4a-0001th-9w for qemu-devel@nongnu.org; Fri, 28 Sep 2012 12:06:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THd4L-0004aF-79 for qemu-devel@nongnu.org; Fri, 28 Sep 2012 12:05:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THd4K-0004Z9-UE for qemu-devel@nongnu.org; Fri, 28 Sep 2012 12:05:37 -0400 Message-ID: <1348848323.2320.344.camel@ul30vt.home> From: Alex Williamson Date: Fri, 28 Sep 2012 10:05:23 -0600 In-Reply-To: <506573E2.9030604@yahoo.co.uk> References: <506573E2.9030604@yahoo.co.uk> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] a user here - pci-assign List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: lejeczek Cc: qemu-devel@nongnu.org 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