The string "ppc64" is passed in place of capability flags. We were lucky that the pointer was always more than QEMU_CAPS_LAST. Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx> --- tests/qemuxml2argvtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 85973a2298..5977f77b86 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -2412,7 +2412,7 @@ mymain(void) DO_TEST("pseries-console-virtio", QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE); DO_TEST_PARSE_ERROR("pseries-serial-invalid-machine", NONE); - DO_TEST_PARSE_ERROR("pseries-spaprvio-invalid", "ppc64"); + DO_TEST_PARSE_ERROR("pseries-spaprvio-invalid", NONE); DO_TEST("mach-virt-serial-native", QEMU_CAPS_DEVICE_PL011); -- 2.31.1