From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Guyader Subject: Re: [PATCH 0/2] graphics passthrough with VT-d / keyboard and mouse sharing patch Date: Wed, 17 Mar 2010 15:42:55 +0000 Message-ID: References: <715D42877B251141A38726ABF5CABF2C054B533681@pdsmsx503.ccr.corp.intel.com> <20090828082431.GA16003@citrix.com> <20100313003722.GQ1878@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20100313003722.GQ1878@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: "xen-devel@lists.xensource.com" , "Lin, Ben Y" , "Kay, Allen M" , Jean Guyader , "Han, Weidong" , "bengheng@eecs.umich.edu" List-Id: xen-devel@lists.xenproject.org On 13 March 2010 00:37, Pasi K=E4rkk=E4inen 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, Ben= g Heng, Ng) posted gfx passthrough patches. If xen-unstable includes gfx pa= ssthrough 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: >> > =A0 1. disable emulated VGA adapter, instead use passthroughed gfx >> > =A0 2. load VGA bios of the gfx to guest >> > =A0 3. passthrough legacy VGA IO ports and MMIOs to guest >> > >> > This patchset implements above common changes. Based on the common cha= nges, 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, defau= lt is 0 >> > gfx_passthru=3D2 >> > >> > and also pls passthrough a USB controller for keyboard/mouse use in gu= est. (Now there are some issues on USB controller passthrough with pv-ops d= om0, so currently prefer to use 2.6.18 dom0.) >> > >> >> Once we have those patch inside xen-unstable, I could commit the patch w= e 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