[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Problem with VGA passthrough in Xen 4.0.1


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Jason Sonnek <jsonnek@xxxxxxxxx>
  • Date: Thu, 2 Dec 2010 16:10:32 -0600
  • Delivery-date: Thu, 02 Dec 2010 14:12:24 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=KYctNy0hE7XWJjap5YOzfM58JOFIRJpA3aVefSB+MZMYvjwf6Lm23In6IzwVH8+0wq JINSngthIixkAmo1sYZeISE1FB2+hvGizAk08UdtJpQo1nfDKwSFdGxk5OcOMv52hBy9 vVL8bVHhP8nXxQ8BdHWpzdvPP9kNs1bxUqIdc=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>


I've been trying to get VGA passthrough working with HVM guests in Xen 4.0.1. Whenever I set gfx_passthru=1 in the configuration file, the guest almost immediately crashes and dumps into a QEMU console. If I set gfx_passthru=0, whichever video card I'm trying to passthrough is visible to and correctly identified by the guest. In one case, I can even use the card as the guest graphics adapter with gfx_passthru=0, although obviously the emulated graphics adapter is used during initial boot-up.

I've had the same experience with multiple different graphics adapters (Matrox MGA-200, ATI FirePro 2450 and Intel 82Q35 Express). I've tried two different systems, as well as both the 2.6.32.25 pv_ops and SuSE xenified 2.6.34 kernels. Standard PCI passthrough works fine for many different devices.

Is this the behavior I would expect to see if initialization of the graphics card using the VGA BIOS copied from host memory failed? There is nothing in the logs that indicates to me what the problem is (other than the obvious unspecified QEMU failure in the xend log), but I'll attach them below so someone can point out what I missed.

Thanks!

Jason

-----------

I see the following info in the logs when using gfx_passthru=1. Note that the graphics adapter is device 01:03.0.

-- xend.log --

[2010-12-01 01:57:56 3988] WARNING (image:552) domain emma: device model failure: pid 4357: malfunctioning (closed sentinel), killed; see /var/log/xen/qemu-dm-emma.log
[2010-12-01 01:57:56 3988] WARNING (XendDomainInfo:2071) Domain has crashed: name=emma id=3.
[2010-12-01 01:57:56 3988] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: domid=3
[2010-12-01 01:57:57 3988] DEBUG (XendDomainInfo:2411) Destroying device model
[2010-12-01 01:57:57 3988] DEBUG (XendDomainInfo:2418) Releasing devices
[2010-12-01 01:57:57 3988] DEBUG (XendDomainInfo:2424) Removing vif/0

-- qemu-dm-emma.log --

[Attached]

Attachment: qemu-dm-emma.log.10
Description: Binary data

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.