]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Introduce a new graphics display type 'headless'
authorErik Skultety <eskultet@redhat.com>
Sat, 30 Jun 2018 14:23:01 +0000 (16:23 +0200)
committerErik Skultety <eskultet@redhat.com>
Wed, 18 Jul 2018 16:16:07 +0000 (18:16 +0200)
commitd8266ebe1615c4b043db6b8d486465722cdd0ef8
tree5a2fcf5e100d04a10595f9bfd17ec6e3a5dfc36d
parent7ab7d0ed49d8501198b33c655cc646667d333f8c
qemu: Introduce a new graphics display type 'headless'

Since 2.10 QEMU supports a new display type egl-headless which uses the
drm nodes for OpenGL rendering copying back the rendered bits back to
QEMU into a dma-buf which can be accessed by standard "display" apps
like VNC or SPICE. Although this display type can be used on its own,
for any practical use case it makes sense to pair it with either VNC or
SPICE display. The clear benefit of this display is that VNC gains
OpenGL support, which it natively doesn't have, and SPICE gains remote
OpenGL support (native OpenGL support only works locally through a UNIX
socket, i.e. listen type=socket/none).

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Erik Skultety <eskultet@redhat.com>
24 files changed:
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libxl/libxl_conf.c
src/qemu/qemu_command.c
src/qemu/qemu_domain.c
src/qemu/qemu_driver.c
src/qemu/qemu_hotplug.c
src/qemu/qemu_process.c
src/vmx/vmx.c
tests/domaincapsschemadata/full.xml
tests/qemuxml2argvdata/graphics-egl-headless.args [new file with mode: 0644]
tests/qemuxml2argvdata/graphics-egl-headless.xml [new file with mode: 0644]
tests/qemuxml2argvdata/graphics-sdl-egl-headless.xml [new file with mode: 0644]
tests/qemuxml2argvdata/graphics-spice-egl-headless.args [new file with mode: 0644]
tests/qemuxml2argvdata/graphics-spice-egl-headless.xml [new file with mode: 0644]
tests/qemuxml2argvdata/graphics-spice-invalid-egl-headless.xml [new file with mode: 0644]
tests/qemuxml2argvdata/graphics-vnc-egl-headless.args [new file with mode: 0644]
tests/qemuxml2argvdata/graphics-vnc-egl-headless.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/graphics-spice-egl-headless.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/graphics-vnc-egl-headless.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c