qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [Spice-devel] paravirtual mouse/tablet


From: Anthony Liguori
Subject: Re: [Qemu-devel] Re: [Spice-devel] paravirtual mouse/tablet
Date: Thu, 13 Jan 2011 14:41:22 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Lightning/1.0b1 Thunderbird/3.0.10

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]