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

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

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Simple emulation of host keyboard and mouse for gfx_passthru.
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
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=dietmar.hahn@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1269428603; x=1300964603; h=from:to:subject:date:mime-version:message-id; z=From:=20Dietmar=20Hahn=20<dietmar.hahn@xxxxxxxxxxxxxx> |To:=20"xen-devel@xxxxxxxxxxxxxxxxxxx"=20<xen-devel@lists .xensource.com>|Subject:=20[PATCH]=20Simple=20emulation =20of=20host=20keyboard=20and=20mouse=20for=20gfx_passthr u.|Date:=20Wed,=2024=20Mar=202010=2011:57:34=20+0100 |MIME-Version:=201.0|Message-Id:=20<201003241157.34381.di etmar.hahn@xxxxxxxxxxxxxx>; bh=w7pKFsPkETqUDWh15VyN9eRITDJNZbMJD7gO5BKV6QU=; b=KaTn/hUpL6hqGA4ZqSh5IykWok9hKhIWOH52wVdnrfBS2ZA8vacCnCfL 7vaB/SCOyvGPr2YewtERX8YPi2vX1aLkxsHKQK33m1UOXnluXN/ErBVEg J4B1he9+oqvfQ+l1IOrDxQL9jXc2XCgRM5OaJXMTDZXJNqrCVM/Jq0t4c PzR561nXcaiWXwFsBJ1bqSGChD0xsOXL6ZaduGfbQK2QrybLlaC6iczOP 6ptCc2j/oahccsSiYSWZq/T9pNxs7;
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;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.13.1 (Linux/2.6.31.12-0.1-desktop; KDE/4.4.1; x86_64; ; )
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Simple emulation of host keyboard and mouse for gfx_passthru., Dietmar Hahn <=