From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gordon Messmer Subject: Re: Device pass-through Date: Sat, 07 Jan 2012 14:21:33 -0800 Message-ID: <4F08C56D.2040008@eburg.com> References: <4F02086A.6050607@eburg.com> <1325626484.4305.15.camel@bling.home> <4F039D66.103@eburg.com> <1325648683.4305.54.camel@bling.home> <4F05F4EE.3050003@eburg.com> <4F06A205.9080502@eburg.com> <4F06BF7F.4040704@web.de> <4F07A8E4.4020700@eburg.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: unlisted-recipients:; (no To-header on input) Return-path: Received: from home.dragonsdawn.net ([173.160.248.33]:50351 "EHLO ascension.private.dragonsdawn.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751328Ab2AGWV3 (ORCPT ); Sat, 7 Jan 2012 17:21:29 -0500 In-Reply-To: <4F07A8E4.4020700@eburg.com> Sender: kvm-owner@vger.kernel.org List-ID: On 01/06/2012 06:07 PM, Gordon Messmer wrote: > > /usr/libexec/qemu-kvm\ > -vnc 127.0.0.1:0 -vga cirrus \ > -device > pci-assign,host=05:00.0,id=hostdev1,configfd=27,bus=pci.0,addr=0x7,romfile=/var/lib/libvirt/images/Radeon3470.rom Snipped a bunch of other args... I'm certain that qemu-kvm loads both /usr/share/qemu-kvm/vgabios-cirrus.bin and /var/lib/libvirt/images/Radeon3470.rom, which seems correct. However, in the guest, both the virtual VGA card and the real PCI one have the same ROM, from vgabios-cirrus.bin. I've looked through the qemu-kvm source and don't see anything that would obviously cause that sort of problem. Should I be looking into seabios? 00:02.0 0300: 1013:00b8 (prog-if 00 [VGA controller]) Subsystem: 1af4:1100 Physical Slot: 2 Flags: fast devsel Memory at f0000000 (32-bit, prefetchable) [size=32M] Memory at f2000000 (32-bit, non-prefetchable) [size=4K] Expansion ROM at f2010000 [disabled] [size=64K] Kernel modules: cirrusfb 00:07.0 0300: 1002:95c0 (prog-if 00 [VGA controller]) Subsystem: 1028:3243 Physical Slot: 7 Flags: fast devsel, IRQ 11 Memory at e0000000 (32-bit, prefetchable) [size=256M] Memory at f2050000 (32-bit, non-prefetchable) [size=64K] I/O ports at c100 [size=256] Expansion ROM at f2060000 [disabled] [size=64K] Capabilities: [58] Express Legacy Endpoint, MSI 00 Capabilities: [50] Power Management version 3 Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit- Kernel modules: radeon # strings /sys/bus/pci/devices/0000\:00\:02.0/rom | head -2 Plex86/Bochs VGABios (PCI) current-cvs 19 Jul 2011 # strings /sys/bus/pci/devices/0000\:00\:07.0/rom | head -2 Plex86/Bochs VGABios (PCI) current-cvs 19 Jul 2011