]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_process: always check capabilities for video devices
authorPavel Hrdina <phrdina@redhat.com>
Mon, 10 Oct 2016 15:51:38 +0000 (17:51 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 12 Oct 2016 15:46:47 +0000 (17:46 +0200)
commit33af92a91c326d9a6b85d8e216e7664407300a64
treeaf72036b59d5f70054c9b7cda4dea4f6136c5901
parent8fed30d004cbe7f6c0aca6525a5048caf6066e63
qemu_process: always check capabilities for video devices

Before this patch we've checked qemu capabilities for video devices
only while constructing qemu command line using "-device" option.

Since we support qemu only if "-device" option is present we can use
the same capabilities to check also video devices while using "-vga"
option to construct qemu command line.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_process.c
tests/qemuxml2argvtest.c