[Spice-devel] intel vgpu & spice & cursor

Frediano Ziglio fziglio at redhat.com
Fri Nov 10 12:33:58 UTC 2017


> Hi,
> 
> > > The latter implies client mouse mode isn't going to work, so we need
> > > some other way to render the cursor.  I see basically two options:
> > > 
> > 
> > It's a shame not to have client mouse mode support. I wonder if we
> > could modify the intel driver to pass along the cursor details, like
> > virgl does (see drmModeSetCursor2).
> 
> Update, after some kvm forum discussions: seems passing the hotspot
> position is possible, using the vgpu pvinfo mmio page.  So it seems
> we don't need a spice server update.
> 
> cheers,
>   Gerd
> 

Some more details would be useful.
As the cursor hotspot is something the h/w does not care much are
you basically saying the userspace (X/wayland) will pass this
information to kernel driver (Intel) which will write to the mmio
page which will be used by Qemu to pass to spice-server, right?
I assume this will require changes in kernel (Intel) driver and
Qemu, right?

Frediano


More information about the intel-gvt-dev mailing list