[Spice-devel] intel vgpu & spice & cursor

Gerd Hoffmann kraxel at redhat.com
Fri Nov 10 13:00:02 UTC 2017


On Fri, Nov 10, 2017 at 07:33:58AM -0500, Frediano Ziglio wrote:
> 
> > 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

That happens already, this is where virtio-gpu and qxl get the hotspot
information from.

> (Intel) which will write to the mmio
> page

Intel has reserved a page in igt mmio space for paravirtual information.
The idea is to use that to pass the hotspot information from guest to
host.  Yes, this needs changes in both guest and host i915.ko driver.

Then on the host side the vfio mdev driver makes this available to qemu,
which in turn can pass it along to the spice-server.

cheers,
  Gerd



More information about the intel-gvt-dev mailing list