[libvirt] [PATCH v2 0/5] Add QEMU SDL OpenGL support

Maciej Wolny posted 5 patches 5 years, 10 months ago
Failed in applying to current master (apply log)
Test syntax-check passed
docs/formatdomain.html.in                          |  6 ++
docs/schemas/domaincommon.rng                      |  8 +++
src/conf/domain_conf.c                             | 44 +++++++++++++-
src/conf/domain_conf.h                             |  1 +
src/qemu/qemu_capabilities.c                       |  2 +
src/qemu/qemu_capabilities.h                       |  1 +
src/qemu/qemu_command.c                            | 69 +++++++++++++++-------
.../qemucapabilitiesdata/caps_2.4.0.x86_64.replies |  9 +++
tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml   |  3 +-
.../qemuxml2argvdata/video-virtio-gpu-sdl-gl.args  | 28 +++++++++
tests/qemuxml2argvdata/video-virtio-gpu-sdl-gl.xml | 38 ++++++++++++
tests/qemuxml2argvtest.c                           |  5 ++
.../qemuxml2xmloutdata/video-virtio-gpu-sdl-gl.xml | 45 ++++++++++++++
tests/qemuxml2xmltest.c                            |  1 +
14 files changed, 237 insertions(+), 23 deletions(-)
create mode 100644 tests/qemuxml2argvdata/video-virtio-gpu-sdl-gl.args
create mode 100644 tests/qemuxml2argvdata/video-virtio-gpu-sdl-gl.xml
create mode 100644 tests/qemuxml2xmloutdata/video-virtio-gpu-sdl-gl.xml
[libvirt] [PATCH v2 0/5] Add QEMU SDL OpenGL support
Posted by Maciej Wolny 5 years, 10 months ago
This patch set adds support for accelerated graphics rendering with OpenGL
when using the SDL backend with QEMU. This takes advantage of the `-sdl gl`
option in QEMU.

Maciej Wolny (5):
  qemu_command: Move SDL command line building into helper
  qemu_command: Remove outdated comment
  qemu: Add gl property to graphics of type sdl in domain config
  qemu: Add QEMU_CAPS_SDL_GL to qemu capabilities
  qemu: Add gl option to SDL graphics command line

 docs/formatdomain.html.in                          |  6 ++
 docs/schemas/domaincommon.rng                      |  8 +++
 src/conf/domain_conf.c                             | 44 +++++++++++++-
 src/conf/domain_conf.h                             |  1 +
 src/qemu/qemu_capabilities.c                       |  2 +
 src/qemu/qemu_capabilities.h                       |  1 +
 src/qemu/qemu_command.c                            | 69 +++++++++++++++-------
 .../qemucapabilitiesdata/caps_2.4.0.x86_64.replies |  9 +++
 tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml   |  3 +-
 .../qemuxml2argvdata/video-virtio-gpu-sdl-gl.args  | 28 +++++++++
 tests/qemuxml2argvdata/video-virtio-gpu-sdl-gl.xml | 38 ++++++++++++
 tests/qemuxml2argvtest.c                           |  5 ++
 .../qemuxml2xmloutdata/video-virtio-gpu-sdl-gl.xml | 45 ++++++++++++++
 tests/qemuxml2xmltest.c                            |  1 +
 14 files changed, 237 insertions(+), 23 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/video-virtio-gpu-sdl-gl.args
 create mode 100644 tests/qemuxml2argvdata/video-virtio-gpu-sdl-gl.xml
 create mode 100644 tests/qemuxml2xmloutdata/video-virtio-gpu-sdl-gl.xml

-- 
2.11.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v2 0/5] Add QEMU SDL OpenGL support
Posted by John Ferlan 5 years, 10 months ago

On 05/10/2018 06:53 AM, Maciej Wolny wrote:
> This patch set adds support for accelerated graphics rendering with OpenGL
> when using the SDL backend with QEMU. This takes advantage of the `-sdl gl`
> option in QEMU.
> 
> Maciej Wolny (5):
>   qemu_command: Move SDL command line building into helper
>   qemu_command: Remove outdated comment
>   qemu: Add gl property to graphics of type sdl in domain config
>   qemu: Add QEMU_CAPS_SDL_GL to qemu capabilities
>   qemu: Add gl option to SDL graphics command line
> 
>  docs/formatdomain.html.in                          |  6 ++
>  docs/schemas/domaincommon.rng                      |  8 +++
>  src/conf/domain_conf.c                             | 44 +++++++++++++-
>  src/conf/domain_conf.h                             |  1 +
>  src/qemu/qemu_capabilities.c                       |  2 +
>  src/qemu/qemu_capabilities.h                       |  1 +
>  src/qemu/qemu_command.c                            | 69 +++++++++++++++-------
>  .../qemucapabilitiesdata/caps_2.4.0.x86_64.replies |  9 +++
>  tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml   |  3 +-
>  .../qemuxml2argvdata/video-virtio-gpu-sdl-gl.args  | 28 +++++++++
>  tests/qemuxml2argvdata/video-virtio-gpu-sdl-gl.xml | 38 ++++++++++++
>  tests/qemuxml2argvtest.c                           |  5 ++
>  .../qemuxml2xmloutdata/video-virtio-gpu-sdl-gl.xml | 45 ++++++++++++++
>  tests/qemuxml2xmltest.c                            |  1 +
>  14 files changed, 237 insertions(+), 23 deletions(-)
>  create mode 100644 tests/qemuxml2argvdata/video-virtio-gpu-sdl-gl.args
>  create mode 100644 tests/qemuxml2argvdata/video-virtio-gpu-sdl-gl.xml
>  create mode 100644 tests/qemuxml2xmloutdata/video-virtio-gpu-sdl-gl.xml
> 

Could you also post a 6/5 that would change docs/news.xml to describe
the Improvement...

Tks -

John

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v2 0/5] Add QEMU SDL OpenGL support
Posted by John Ferlan 5 years, 10 months ago

On 05/10/2018 06:53 AM, Maciej Wolny wrote:
> This patch set adds support for accelerated graphics rendering with OpenGL
> when using the SDL backend with QEMU. This takes advantage of the `-sdl gl`
> option in QEMU.
> 
> Maciej Wolny (5):
>   qemu_command: Move SDL command line building into helper
>   qemu_command: Remove outdated comment
>   qemu: Add gl property to graphics of type sdl in domain config
>   qemu: Add QEMU_CAPS_SDL_GL to qemu capabilities
>   qemu: Add gl option to SDL graphics command line
> 
>  docs/formatdomain.html.in                          |  6 ++
>  docs/schemas/domaincommon.rng                      |  8 +++
>  src/conf/domain_conf.c                             | 44 +++++++++++++-
>  src/conf/domain_conf.h                             |  1 +
>  src/qemu/qemu_capabilities.c                       |  2 +
>  src/qemu/qemu_capabilities.h                       |  1 +
>  src/qemu/qemu_command.c                            | 69 +++++++++++++++-------
>  .../qemucapabilitiesdata/caps_2.4.0.x86_64.replies |  9 +++
>  tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml   |  3 +-
>  .../qemuxml2argvdata/video-virtio-gpu-sdl-gl.args  | 28 +++++++++
>  tests/qemuxml2argvdata/video-virtio-gpu-sdl-gl.xml | 38 ++++++++++++
>  tests/qemuxml2argvtest.c                           |  5 ++
>  .../qemuxml2xmloutdata/video-virtio-gpu-sdl-gl.xml | 45 ++++++++++++++
>  tests/qemuxml2xmltest.c                            |  1 +
>  14 files changed, 237 insertions(+), 23 deletions(-)
>  create mode 100644 tests/qemuxml2argvdata/video-virtio-gpu-sdl-gl.args
>  create mode 100644 tests/qemuxml2argvdata/video-virtio-gpu-sdl-gl.xml
>  create mode 100644 tests/qemuxml2xmloutdata/video-virtio-gpu-sdl-gl.xml
> 

This is now pushed.

John

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list