From: =?ISO-8859-1?Q?Ferdinand_N=F6lscher?= Subject: Xen primary VGA pass through problems Date: Sun, 14 Oct 2012 12:09:14 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090602030209000605020505" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --------------090602030209000605020505 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Hi! Recently, I tried setting up VGA pass through with my machine. The set up is as follows: I have two AMD vga adapters - I want to pass through the second one. I compiled xen 4.2 from source and set everything up. Attached to this message, you can find my windows 7 domU configuration file. Whenever I want to pass through the device, I use "xl pci-assignable-add BDF" to unbind the adapter, before I create the domU. Pciback is loaded as module and is not compiled statically in the kernel. Unless I do not specify "gfx_passthru = 1" in my configuration file, this works fine. The vga adapter gets detected and I can use it as secondary vga, with very limited performance. If I do set "gfx_passthru = 1" the domU doesnt boot at all. It just switches state from "r" (for running) to "-----" (which is nothing, i guess?) every few seconds. I can't find anything in the logs indicating an error. Any ideas on how to fix that? kind regards, Ferdinand --------------090602030209000605020505 Content-Type: text/plain; name="win7-vga.cfg" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="win7-vga.cfg" kernel = "/usr/lib/xen/boot/hvmloader" builder='hvm' memory = 3096 vcpus=6 shadow_memory = 8 name = "xenwin7" vif = [ 'ip=10.0.0.2 bridge=xenbr0' ] dhcp = "off" acpi = 1 apic = 1 disk = [ 'file:/home/user/vms/windows7/xenwin7.img,hda,w' ] device_model = '/usr/lib/xen/bin/qemu-dm' boot="cd" sdl=0 vnc=0 # vncpasswd='1234' # vncdisplay = 1 serial='pty' usbdevice='tablet' # vga pass-through stuff gfx_passthru=0 pci = [ '02:00.0', '02:00.1' ] pci_msitranslate = 1 pci_power_mgmt = 1 acpi_s3 = 1 acpi_s4 = 1 --------------090602030209000605020505 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --------------090602030209000605020505--