From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BLOA3-00010A-77 for qemu-devel@nongnu.org; Wed, 05 May 2004 11:18:15 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BLO9V-0000tF-Ui for qemu-devel@nongnu.org; Wed, 05 May 2004 11:18:14 -0400 Received: from [68.144.28.253] (helo=localhost.localdomain) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1BLO9V-0000sh-Gm for qemu-devel@nongnu.org; Wed, 05 May 2004 11:17:41 -0400 Received: from aclaro.com (internal.aclaro.com [68.144.28.252]) (authenticated bits=0) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id i45FHEje029644 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 5 May 2004 09:17:34 -0600 Message-ID: <4099057D.5010907@aclaro.com> Date: Wed, 05 May 2004 09:17:17 -0600 From: Matthew Mastracci MIME-Version: 1.0 References: <4098154B.1050804@bellard.org> <20040505025800.GA9884@jbrown.mylinuxbox.org> In-Reply-To: <20040505025800.GA9884@jbrown.mylinuxbox.org> Content-Type: multipart/mixed; boundary="------------070409070102080208050203" Subject: [Qemu-devel] Re: Host <-> guest interface port? Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------070409070102080208050203 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Jim C. Brown wrote: >I volunteer to write the code for the Linux client if necessary. I'm studying >the X11 clipboard mechanism anyways. I have a pretty good idea of how to get >the clock of the host, also. > >Not sure how auto-capture/release of mouse would work tho. > > Since the host knows exactly where the guest cursor is (the guest is sending cursor location updates), it can release the mouse when the guest cursor is against the edge of the screen. This works in reverse as well - when the mouse is moved over the QEMU screen, the host captures it (hiding the local cursor) and updates the guest location to match. It's a seamless transition from real mouse to virtual mouse. The guest can also hide and show the guest OS cursor as it is captured/released. You'll only see the cursor in the guest if it is captured by QEMU. Matt. --------------070409070102080208050203 Content-Type: text/x-vcard; charset=utf8; name="matt.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="matt.vcf" begin:vcard fn:Matthew Mastracci n:Mastracci;Matthew org:aclaro Softworks, inc. adr:;;1900 a - 11 St. SE;Calgary;Alberta;T2H 3G2;Canada email;internet:matt@aclaro.com title:Software Developer tel;work:(403) 299-6612 x-mozilla-html:FALSE url:http://www.aclaro.com version:2.1 end:vcard --------------070409070102080208050203--