]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_command: properly detect which model to use for video device
authorPavel Hrdina <phrdina@redhat.com>
Fri, 30 Sep 2016 12:41:37 +0000 (14:41 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 12 Oct 2016 15:46:48 +0000 (17:46 +0200)
commit4c029e8cfa3338ef1a2d6851908a9fcf494a32e5
tree480b979c4107b1717f63ea7c84108b2bed35ac8a
parent6869428c128a4e2c39aa9ee53c0e0de69174952f
qemu_command: properly detect which model to use for video device

This improves commit 706b5b6277 in a way that we check qemu capabilities
instead of what architecture we are running on to detect whether we can
use *virtio-vga* model or not.  This is not a case only for arm/aarch64.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
tests/qemuxml2argvdata/qemuxml2argv-video-virtio-gpu-device.args
tests/qemuxml2argvdata/qemuxml2argv-video-virtio-gpu-spice-gl.args
tests/qemuxml2argvdata/qemuxml2argv-video-virtio-gpu-virgl.args
tests/qemuxml2argvdata/qemuxml2argv-video-virtio-vga.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-video-virtio-vga.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c