[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 5/8] spice: add opengl/virgl/dmabuf support
From: |
Marc-André Lureau |
Subject: |
Re: [Qemu-devel] [PATCH 5/8] spice: add opengl/virgl/dmabuf support |
Date: |
Thu, 18 Feb 2016 17:55:50 +0100 |
Hi
On Thu, Feb 18, 2016 at 5:30 PM, Eric Blake <address@hidden> wrote:
> On 02/18/2016 02:26 AM, Gerd Hoffmann wrote:
>> This adds support for dma-buf passing to spice. This makes virtio-gpu
>> with 3d acceleration work with spice.
>>
>
>>
>> gl mode is turned off by default, use "-spice gl=on,$otherargs" to
>> enable it.
>>
>
>>
>> @@ -494,9 +497,14 @@ static QemuOptsList qemu_spice_opts = {
>> },{
>> .name = "playback-compression",
>> .type = QEMU_OPT_BOOL,
>> - }, {
>> + },{
>> .name = "seamless-migration",
>> .type = QEMU_OPT_BOOL,
>> +#ifdef CONFIG_OPENGL_DMABUF
>> + },{
>> + .name = "gl",
>> + .type = QEMU_OPT_BOOL,
>> +#endif
>> },
>
> How introspectible is this? Does QMP 'query-command-line-options' cope
> will with showing 'gl' as an option only for the qemu binaries where the
> #ifdef succeeded?
{ "execute": "query-command-line-options", "arguments": { "option": "spice" } }
{"return": [{"parameters": [{"name": "gl", "type": "boolean"},
(I just sent a libvirt patch that queries successfully the capability too)
--
Marc-André Lureau
- [Qemu-devel] [PATCH 3/8] console: track gl_block state in QemuConsole, (continued)
- [Qemu-devel] [PATCH 3/8] console: track gl_block state in QemuConsole, Gerd Hoffmann, 2016/02/18
- [Qemu-devel] [PATCH 1/8] configure: add dma-buf support detection., Gerd Hoffmann, 2016/02/18
- [Qemu-devel] [PATCH 7/8] spice/gl: render DisplaySurface via opengl, Gerd Hoffmann, 2016/02/18
- [Qemu-devel] [PATCH 4/8] spice: reset cursor on resize, Gerd Hoffmann, 2016/02/18
- [Qemu-devel] [PATCH 8/8] spice/gl: create dummy primary surface (RfC), Gerd Hoffmann, 2016/02/18
- [Qemu-devel] [PATCH 5/8] spice: add opengl/virgl/dmabuf support, Gerd Hoffmann, 2016/02/18
- [Qemu-devel] [PATCH 2/8] egl-helpers: add functions for render nodes and dma-buf passing, Gerd Hoffmann, 2016/02/18
- Re: [Qemu-devel] [PATCH 0/8] spice: add opengl/virgl/dmabuf support, Marc-André Lureau, 2016/02/18