Re: [Qemu-devel] [PATCH v7 1/8] vhost-user: add vhost_user_gpu_set_socket()

2019-05-14 Thread Gerd Hoffmann
> > > + typedef struct VhostUserGpuMsg { > > > + uint32_t request; /* VhostUserGpuRequest */ > > > + uint32_t flags; > > > + uint32_t size; /* the following payload size */ > > > > uint32_t padding; > > > > > + union { > > > + VhostUserGpuCursorPos cursor_pos; > > > +

Re: [Qemu-devel] [PATCH v7 1/8] vhost-user: add vhost_user_gpu_set_socket()

2019-05-14 Thread Marc-André Lureau
Hi On Tue, May 14, 2019 at 7:38 AM Gerd Hoffmann wrote: > > Hi, > > > +VhostUserGpuCursorUpdate > > + > > + > > ++-+---+---++ > > +| pos | hot_x | hot_y | cursor | > > ++-+---+---++ > > + > > +:pos: a ``VhostUserGpuCursorPos``,

Re: [Qemu-devel] [PATCH v7 1/8] vhost-user: add vhost_user_gpu_set_socket()

2019-05-13 Thread Gerd Hoffmann
Hi, > +VhostUserGpuCursorUpdate > + > + > ++-+---+---++ > +| pos | hot_x | hot_y | cursor | > ++-+---+---++ > + > +:pos: a ``VhostUserGpuCursorPos``, the cursor location > + > +:hot_x/hot_y: ``u32``, the cursor hot location > + >

[Qemu-devel] [PATCH v7 1/8] vhost-user: add vhost_user_gpu_set_socket()

2019-05-13 Thread Marc-André Lureau
Add a new vhost-user message to give a unix socket to a vhost-user backend for GPU display updates. Back when I started that work, I added a new GPU channel because the vhost-user protocol wasn't bidirectional. Since then, there is a vhost-user-slave channel for the slave to send requests to the