[Spice-devel] [PATCH] Adding new ioctl for updating Vdagent state

Christophe Fergeau cfergeau at redhat.com
Tue Aug 9 11:23:42 UTC 2016


On Tue, Aug 09, 2016 at 09:22:15AM +0300, Sameeh Jubran wrote:
> Hi,
> 
> What do you think that needs to be done?
> The patches should be applied?
> The interface of the device should be extended to support broadcasting the
> mouse mode to the driver? ( I think would require to modify the spice
> protocol )
> The interface of spice-gtk should be extended to support broadcasting the
> mouse mode to vdagent?

The filtering of cursor commands depending on server/mouse mode is
already done in spice-server in
https://cgit.freedesktop.org/spice/spice/tree/server/cursor-channel.c#n438
so I don't think we need to know too much about client/server mode in
the guest driver. Maybe some VGA/QXL distinction will be needed to avoid
some VGA-specific issues, but when using QXL, removing EnablePointer()
altogether should do the right thing both in client and server mode (did
not test).

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160809/f4a97b72/attachment-0001.sig>


More information about the Spice-devel mailing list