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] [PATCH 0/2] graphics passthrough with VT-d / keyboard an

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] [PATCH 0/2] graphics passthrough with VT-d / keyboard and mouse sharing patch
From: Jean Guyader <jean.guyader@xxxxxxxxx>
Date: Wed, 17 Mar 2010 15:42:55 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Lin, Ben Y" <ben.y.lin@xxxxxxxxx>, "Kay, Allen M" <allen.m.kay@xxxxxxxxx>, Jean Guyader <jean.guyader@xxxxxxxxxx>, "Han, Weidong" <weidong.han@xxxxxxxxx>, "bengheng@xxxxxxxxxxxxxx" <bengheng@xxxxxxxxxxxxxx>
Delivery-date: Wed, 17 Mar 2010 08:43:36 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=9SyVOYAoRRVWtO6w52elQ/iN+5R3O9Cer33C2tPAMM4=; b=kmOTpnGCMmPAQOMYZPJkrbfO0agIuTzhHCipMwJeYlyUiiLX2niGFG+tIyyNWrVgC3 w9eM/RMyLJ7fkBY3J14ZUIZFLJqZnkiqOTECel9tJ++xZddCetsKdtyzlZFYtYmJFGr1 s+Dx+g/Ecgo+84EVAdlALICQ2BEa7Ovvo7zd4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xkt/ckxVaBifTZifXkmtB32IYqWM9eCNBOcSAd4v+/p/MuwYeI9RVmGwnDZ4MOtVWw bAS/26x0igmmarHMYjmd0Jks+rkpMmROGOH7gJQ01tCaE6SXP/D5zpGRb5P77DA/HImY NupafZrXK+JsrAYh+rtdHx1ejp1RgI0VP8Xi0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100313003722.GQ1878@xxxxxxxxxxx>
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: <715D42877B251141A38726ABF5CABF2C054B533681@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20090828082431.GA16003@xxxxxxxxxx> <20100313003722.GQ1878@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 13 March 2010 00:37, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
> On Fri, Aug 28, 2009 at 09:24:31AM +0100, Jean Guyader wrote:
>> On Fri, Aug 28, 2009 at 03:53:56AM -0400, Han, Weidong wrote:
>> > Hi all,
>> >
>> > Recently, more and more people are interesting in gfx passthrough. But now 
>> > xen-unstable doesn't support it, although some guys (Jean Guyader, Beng 
>> > Heng, Ng) posted gfx passthrough patches. If xen-unstable includes gfx 
>> > passthrough support, people can be easy to try it.
>> >
>> > gfx passthrough is more complicated than other PCI device passthrough such 
>> > as NIC, and is hard to use a generic approach for all gfx passthrough. But 
>> > there are some necessary changes for gfx passthrough:
>> >   1. disable emulated VGA adapter, instead use passthroughed gfx
>> >   2. load VGA bios of the gfx to guest
>> >   3. passthrough legacy VGA IO ports and MMIOs to guest
>> >
>> > This patchset implements above common changes. Based on the common 
>> > changes, we are investigating to support more gfx cards and guest OSs. We 
>> > will post the hacks in future.
>> >
>> > The patchset supports to passthrough the primary gfx and discrete gfx. 
>> > With the patchset, virtualization friendly gfx cards can be passthroughed 
>> > (e.g. Nvidia FX3800), IGD and many discrete gfx cards are not supported 
>> > yet.
>> >
>> > This is easy to use, the only difference from other PCI passthrough is to 
>> > add following lines to hvm configure file:
>> >
>> > #----------------------------------------------------------------------------------------
>> > # 0: no gfx passthru, 1: IGD passthru, 2: discrete gfx passthru, default 
>> > is 0
>> > gfx_passthru=2
>> >
>> > and also pls passthrough a USB controller for keyboard/mouse use in guest. 
>> > (Now there are some issues on USB controller passthrough with pv-ops dom0, 
>> > so currently prefer to use 2.6.18 dom0.)
>> >
>>
>> Once we have those patch inside xen-unstable, I could commit the patch we 
>> have for XCI
>> to share the host keyboard/mouse with multiple vms.
>>
>
> Hello,
>
> I just found this while going through the archives.
>
> Jean:
> I don't remember seeing this keyboard/mouse sharing patch..
> Can you send it now when xen-unstable has graphics passthru support?
>

Hi Pasi,

I didn't post the patch on the mailing list, and in XCI we changed the
way it was working.
When I will have some free time, I will right a more upstreamable version.

Jean

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

<Prev in Thread] Current Thread [Next in Thread>