...
> diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c
> index fa57221d62..49e0e03f03 100644
> --- a/tests/qemuxml2xmltest.c
> +++ b/tests/qemuxml2xmltest.c
> @@ -479,6 +479,8 @@ mymain(void)
> DO_TEST("hostdev-pci-address", NONE);
> DO_TEST("hostdev-vfio", NONE);
> DO_TEST("hostdev-mdev-precreated", NONE);
> + DO_TEST_FULL("hostdev-mdev-display", WHEN_ACTIVE, GIC_NONE,
> + QEMU_CAPS_VFIO_PCI_DISPLAY);
-ENOSUCHCAP
QEMU_CAPS_VFIO_PCI_DISPLAY is introduced in patch 3.
Erik