]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: fix some QXL capability combinations that don't make sense
authorPavel Hrdina <phrdina@redhat.com>
Wed, 21 Sep 2016 16:26:21 +0000 (18:26 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 12 Oct 2016 15:46:47 +0000 (17:46 +0200)
commite3bbdd9b06564b54cbe045f186f5fb4c2ecc99c3
tree8c33d00c752689bf1c9f9f4a29b8467a06bf32ae
parent971d552e680e6ac43d6898895e99aceea446aa08
tests: fix some QXL capability combinations that don't make sense

If one of QEMU_CAPS_DEVICE_QXL_VGA or QEMU_CAPS_DEVICE_QXL is set the
other one will always be set as well because both devices are tied
together in QEMU.

The change of args files is caused by the presence of capability
QEMU_CAPS_DEVICE_VIDEO_PRIMARY which means it's safe to use
"-device qxl-vga" instead of "-vga qxl", see commit (e3f2686b) and
by the fact that if QEMU_CAPS_VGA_QXL is set QEMU_CAPS_DEVICE_QXL_VGA
and QEMU_CAPS_DEVICE_QXL would be set too (since we support only qemu
with "-device" option).

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
tests/qemuxml2argvdata/qemuxml2argv-pcie-root-port.args
tests/qemuxml2argvdata/qemuxml2argv-pcie-switch-downstream-port.args
tests/qemuxml2argvdata/qemuxml2argv-pcie-switch-upstream-port.args
tests/qemuxml2argvdata/qemuxml2argv-pcihole64-q35.args
tests/qemuxml2argvdata/qemuxml2argv-q35-usb2-multi.args
tests/qemuxml2argvdata/qemuxml2argv-q35-usb2-reorder.args
tests/qemuxml2argvdata/qemuxml2argv-q35-usb2.args
tests/qemuxml2argvdata/qemuxml2argv-q35.args
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c