Re: [Qemu-devel] [RFC v2 11/12] Add virtio-gpu vhost-user backend

2018-06-10 Thread Gerd Hoffmann
> >> For now, a socketpair is created for the backend to share the rendering > >> results with qemu via a simple VHOST_GPU protocol. > > > > Why this isn't a separate device, like vhost-user-input-pci? > > Ok, let's have vhost-user-gpu-pci and vhost-user-vga, inheriting from > existing devices. I

Re: [Qemu-devel] [RFC v2 11/12] Add virtio-gpu vhost-user backend

2018-06-08 Thread Marc-André Lureau
On Fri, Jun 8, 2018 at 7:25 PM, Marc-André Lureau wrote: > Hi > > On Mon, Jun 4, 2018 at 11:37 AM, Gerd Hoffmann wrote: >> On Fri, Jun 01, 2018 at 06:27:48PM +0200, Marc-André Lureau wrote: >>> Add to virtio-gpu devices a "vhost-user" property. When set, the >>> associated vhost-user backend is u

Re: [Qemu-devel] [RFC v2 11/12] Add virtio-gpu vhost-user backend

2018-06-08 Thread Marc-André Lureau
Hi On Mon, Jun 4, 2018 at 11:37 AM, Gerd Hoffmann wrote: > On Fri, Jun 01, 2018 at 06:27:48PM +0200, Marc-André Lureau wrote: >> Add to virtio-gpu devices a "vhost-user" property. When set, the >> associated vhost-user backend is used to handle the virtio rings. >> >> For now, a socketpair is cre

Re: [Qemu-devel] [RFC v2 11/12] Add virtio-gpu vhost-user backend

2018-06-04 Thread Gerd Hoffmann
On Fri, Jun 01, 2018 at 06:27:48PM +0200, Marc-André Lureau wrote: > Add to virtio-gpu devices a "vhost-user" property. When set, the > associated vhost-user backend is used to handle the virtio rings. > > For now, a socketpair is created for the backend to share the rendering > results with qemu

[Qemu-devel] [RFC v2 11/12] Add virtio-gpu vhost-user backend

2018-06-01 Thread Marc-André Lureau
Add to virtio-gpu devices a "vhost-user" property. When set, the associated vhost-user backend is used to handle the virtio rings. For now, a socketpair is created for the backend to share the rendering results with qemu via a simple VHOST_GPU protocol. Example usage: -object vhost-user-backend,i