WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problem with VGA passthrough in Xen 4.0.1
From: Jason Sonnek <jsonnek@xxxxxxxxx>
Date: Thu, 2 Dec 2010 16:10:32 -0600
Delivery-date: Thu, 02 Dec 2010 14:12:24 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=bExM18HiYstNobxh85n1Y6HF5ydHzhkcJ21kpEjQni4=; b=NMWfYVxpX2H9vq9dEiF6JKZe7+gLvgCcpYRxtL0zkyRXXmlM/qa3220D7HDYCBOwVG 38kIizZeCmex9Z+vsbdG+/z8/Brp+FTP4D98MqcDopPWCwknrXlJbXoZiY6Ufx6mtApk i3vjJiiMJItkXgxAtNTssh7w+3voZzhCaBFOc=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Problem with VGA passthrough in Xen 4.0.1, Jason Sonnek <=