From b519a4cc9d5f6dbfaa7315ee6f5dd5ba1f162081 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Tue, 16 Jan 2024 15:44:44 +0100 Subject: [PATCH] tests: Request virtio-mmio for balloon-mmio-deflate MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit For all supported QEMU version, the virt machine type has a hard dependency on PCI support, so if we want to test virtio-balloon together with virtio-mmio we have to either request that explicitly or trick libvirt by masking capabilities. Do the former instead of the latter. Signed-off-by: Andrea Bolognani Reviewed-by: Peter Krempa Reviewed-by: Ján Tomko --- tests/qemuxml2argvdata/balloon-mmio-deflate.xml | 4 +++- .../balloon-mmio-deflate.aarch64-latest.xml | 1 + tests/qemuxmlconftest.c | 8 +------- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/tests/qemuxml2argvdata/balloon-mmio-deflate.xml b/tests/qemuxml2argvdata/balloon-mmio-deflate.xml index a749bf31a2..cb4ad0d347 100644 --- a/tests/qemuxml2argvdata/balloon-mmio-deflate.xml +++ b/tests/qemuxml2argvdata/balloon-mmio-deflate.xml @@ -11,6 +11,8 @@ /usr/bin/qemu-system-aarch64 - + +
+ diff --git a/tests/qemuxml2xmloutdata/balloon-mmio-deflate.aarch64-latest.xml b/tests/qemuxml2xmloutdata/balloon-mmio-deflate.aarch64-latest.xml index 8aeb191979..98065d28d4 100644 --- a/tests/qemuxml2xmloutdata/balloon-mmio-deflate.aarch64-latest.xml +++ b/tests/qemuxml2xmloutdata/balloon-mmio-deflate.aarch64-latest.xml @@ -20,6 +20,7 @@ destroy /usr/bin/qemu-system-aarch64 +