]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Add gl option to SDL graphics command line
authorMaciej Wolny <maciej.wolny@codethink.co.uk>
Thu, 10 May 2018 10:53:59 +0000 (11:53 +0100)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 15 May 2018 20:50:38 +0000 (16:50 -0400)
commit5038b300437cf8adae0bee50d062ce210b0fdad8
tree42bc9138b89c7f9dfc4be4f945eb6d1ec8184f66
parent3278a7bb26cce1e9772f85c1205d5ff93f8a8663
qemu: Add gl option to SDL graphics command line

Support OpenGL when using SDL backend via -sdl,gl=on. Add associated
tests.

NB: Usage of DO_TEST_CAPS_LATEST in qemuxml2argv doesn't work in
this case because -sdl gl is not introspectable.

Signed-off-by: Maciej Wolny <maciej.wolny@codethink.co.uk>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/video-virtio-gpu-sdl-gl.args [new file with mode: 0644]
tests/qemuxml2argvtest.c