diff --git a/tests/qemuxml2xmloutdata/riscv64-virt.riscv64-latest.xml b/tests/qemuxml2xmloutdata/riscv64-virt.riscv64-latest.xml
index 9868f3ae12..8a5c5dd985 100644
--- a/tests/qemuxml2xmloutdata/riscv64-virt.riscv64-latest.xml
+++ b/tests/qemuxml2xmloutdata/riscv64-virt.riscv64-latest.xml
@@ -20,24 +20,8 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -48,7 +32,7 @@
-
+
diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c
index 58e5383b5c..5ec91e192c 100644
--- a/tests/qemuxml2xmltest.c
+++ b/tests/qemuxml2xmltest.c
@@ -904,7 +904,10 @@ mymain(void)
DO_TEST_CAPS_LATEST("vhost-user-fs-hugepages");
DO_TEST_CAPS_LATEST("vhost-user-fs-sock");
- DO_TEST_CAPS_ARCH_LATEST("riscv64-virt", "riscv64");
+ DO_TEST_CAPS_ARCH_LATEST_FULL("riscv64-virt", "riscv64",
+ ARG_QEMU_CAPS_DEL,
+ QEMU_CAPS_OBJECT_GPEX,
+ QEMU_CAPS_LAST);
DO_TEST_CAPS_ARCH_LATEST("riscv64-virt-pci", "riscv64");
DO_TEST_CAPS_LATEST("x86-kvm-32-on-64");