From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=43798 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdTz6-0000pk-B1 for qemu-devel@nongnu.org; Thu, 13 Jan 2011 15:41:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PdTz5-0003N5-7K for qemu-devel@nongnu.org; Thu, 13 Jan 2011 15:41:28 -0500 Received: from mail-iy0-f173.google.com ([209.85.210.173]:50991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PdTz5-0003N0-2w for qemu-devel@nongnu.org; Thu, 13 Jan 2011 15:41:27 -0500 Received: by iye19 with SMTP id 19so2133913iye.4 for ; Thu, 13 Jan 2011 12:41:23 -0800 (PST) Message-ID: <4D2F6372.1010707@codemonkey.ws> Date: Thu, 13 Jan 2011 14:41:22 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [Spice-devel] paravirtual mouse/tablet References: <4D2ED1C8.7070304@redhat.com> <4D2EE756.2020808@redhat.com> <4D2F2085.204@codemonkey.ws> <4D2F31A7.1060402@redhat.com> In-Reply-To: <4D2F31A7.1060402@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Stefan Hajnoczi , "qemu-devel@nongnu.org" , spice-devel On 01/13/2011 11:08 AM, Gerd Hoffmann wrote: > On 01/13/11 16:55, Anthony Liguori wrote: >> On 01/13/2011 05:51 AM, Gerd Hoffmann wrote: >>> On 01/13/11 12:01, Stefan Hajnoczi wrote: >>> >>>> Can you elaborate how the spice display channel comes into play? On a >>>> physical machine you just have input devices with no notion of >>>> display. It's up to the windowing system to process input events and >>>> handle multihead. Why does a pv tablet tie itself to a display >>>> channel? >>> >>> You have two qxl devices, each linked to a spice display channel. The >>> spice client will open one window for each channel. The mouse position >>> is a triple consisting of (x, y, window/channel). >>> >> >> Would be slightly cleaner to have multiple devices. > > Yea, right, that would work too. If we have some way to assign a > display to a pvmouse device this works equally well. I think that has to be outside of the device. There are so many ways to map mice to multi heads. In fact, one mouse could easily map to a single device. It's almost something that really should be part of the guest configuration. >> That maybe implies that we need an offscreen coordinate for the >> mouse so that you can hide the mouse when it leaves one window. > > Hmm? I fail to see why multihead is special here. If you show two mice in the guest, would X render two cursors? Regards, Anthony Liguori > cheers, > Gerd >