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-devel

Re: [Xen-devel] xl and GFX passthrough

To: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xl and GFX passthrough
From: Sergey Tovpeko <tsv.devel@xxxxxxxxx>
Date: Thu, 13 Jan 2011 14:17:57 +0300
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 13 Jan 2011 03:24:26 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=bl8x8mn8ptrEnXlqKQQrOAhRV9dnHTHCkyOhbKU8q+4=; b=hY4F/W1YVd0ZDaegcdnVsoPphFgAKtFRwTyPBVpNaXmyb44oVBVl4swWgL+snsvYOK X0oBcqHe4GW08pvdZiW4LOVGAR/NEMmspl+CX2irlGlAMpypYCG60WwKSJ6ZbArMaLzq 6MNNCL/3MqyMTPh4O6yB5Hb+R1bQfLmxL7HVE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=jZccIz+aNnmHrgeoSGtDLYq22vVaVHYyWrLopeyhvu0rbzxpbp5sjHj9l+IcwFE3oU A6E3EZXts8wA+uQVLCQxQ9WbdJomJtXkTh7KhXT79rGhcKOqRwuUrw24RWO52ogcx+vC vHh4gFpEzyLuPWpd9iSKBYZgQo4eJSvTWMg7w=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1294914282.8240.38.camel@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4D2EC20D.2050603@xxxxxxxxx> <1294910794.8240.9.camel@xxxxxxxxxxxxxxxxxxxxxx> <4D2ECE5A.8070807@xxxxxxxxx> <1294914282.8240.38.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)


I just noticed that this appears to have been fixed by Daniel De Graf
just a few days ago, see 22711:4f6fee3a456e, which may only be in the
staging tree at http://xenbits.xen.org/staging/xen-unstable.hg since we
are waiting for a test pass.


Ian, Daniel

 my patch is almost like Daniel's one.  Thank you for pointing to it.

And there's one absent thing in Daniel's commit (4f6fee3a456e). To complete the gfx passthrough issue for xl we should pass this option to qemu-dm, like this :

+        if (info->gfx_passthru) {
+            flexarray_set(dm_args, num++, "-gfx_passthru");
+ flexarray_set(dm_args, num++, libxl__sprintf(gc, "%d", info->gfx_passthru));
+        }

I suppose, without it 'qemu-dm' won't know about gfx_passthru mode and won't load passthru'ed vga bios.

Daniel might plan to add this code or added it already?






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