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