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

[Xen-devel] [PATCH] Simple emulation of host keyboard and mouse for gfx_passthru.


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxx>
  • Date: Wed, 24 Mar 2010 11:57:34 +0100
  • Delivery-date: Wed, 24 Mar 2010 03:58:56 -0700
  • Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:From:To:Subject:Date:User-Agent: MIME-Version:Content-Type:Message-Id; b=WT+LVKpoi3hNkGJSpZzUA3dEwlEMJelV5eAeslADNsHmQVj82DAmnXAL 4RFiSnZlD4J7dBh1+imd069+9jYhmzwCW1FSAzFntCTo0gRPme0So3xCe O1BUp0dOMUX+tkFxoyR8kNkK3dygu/OXJMX0Bu9hjLteBhrsEjHOfDzTi l+sWn5cYbanUQGHe7IdDBh7YctD0gB6ltO/w+2MqMw4SaKhEHZsPjtpc0 afZfaTZLm3dm4VXdt+DRvPLV+o3lM;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,

to use the host keyboard and touchpad of my laptop while running a HVM guest
with passthroughed primary gfx-card I wrote a simple emulation.
To activate it change
gfx_passthru=1 -> gfx_passthru=1001
in the domU config file. This was done this way to have a small footprint.
Also the embedding in helper2.c is a little bit awkward.
Another problem using this way is that the VT in dom0 is not reset when the
domU gets destroyed.
I wrote this as a workaround until the announced comfortable solution from
Jean Guyader is accessible.
http://lists.xensource.com/archives/html/xen-devel/2010-03/msg00979.html
Thanks.
Dietmar.


-- 
Company details: http://ts.fujitsu.com/imprint.html

Attachment: kbdmouse.patch
Description: Text Data

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

 


Rackspace

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