On Thu, Sep 18, 2025 at 01:45:08PM +0800, BillXiang wrote:
> +++ b/tests/qemucapabilitiesdata/caps_9.1.0_riscv64.replies
> @@ -24238,6 +24238,10 @@
> "name": "tcg-accel",
> "parent": "accel"
> },
> + {
> + "name": "kvm-accel",
> + "parent": "accel"
> + },
Several test cases start failing once this patch is applied. Please
ensure that the test suite passes after every single change.
I assume you have edited this in manually? That's not the way to go.
You need to produce a fresh .replies file from an actual QEMU binary,
then regenerate all files that depend on those capabilities. The
process looks something like this:
$ ./tests/qemucapsprobe /path/to/qemu-system-riscv64
>../tests/qemucapabilitiesdata/caps_10.2.0_riscv64.replies
$ VIR_TEST_REGENERATE_OUTPUT=1 meson test
You will need to repeat the second step several times, possibly fix
things manually. The capabilities update needs to be its own patch.
--
Andrea Bolognani / Red Hat / Virtualization