]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
docs: use the pyvenv version of Meson
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Sep 2025 07:35:44 +0000 (09:35 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 22 Sep 2025 15:17:18 +0000 (17:17 +0200)
The version in the system might be too old for QEMU; this will be
especially true if Rust is going to be enabled by default.

Adjust the docs to suggest using pyvenv/bin/meson, which is in fact
what the "make" wrappers will be running internally.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
docs/devel/build-system.rst
docs/devel/rust.rst
docs/system/devices/igb.rst

index 2c884197a20aa4bc6d562ca6076a07589c9eb50e..6204aa6a72edfbc9bca6d9578e393a10d2588c52 100644 (file)
@@ -450,7 +450,7 @@ are run with ``make bench``.  Meson test suites such as ``unit`` can be ran
 with ``make check-unit``, and ``make check-tcg`` builds and runs "non-Meson"
 tests for all targets.
 
-If desired, it is also possible to use ``ninja`` and ``meson test``,
+If desired, it is also possible to use ``ninja`` and ``pyvenv/bin/meson test``,
 respectively to build emulators and run tests defined in meson.build.
 The main difference is that ``make`` needs the ``-jN`` flag in order to
 enable parallel builds or tests.
index 13a20e86a1605d2d1ec1e70dacee04cf27a529bd..2f0ab2e2821056a55c2aae0cc857656a2a0f3145 100644 (file)
@@ -66,7 +66,7 @@ __ https://mesonbuild.com/Commands.html#devenv
 As shown above, you can use the ``--tests`` option as usual to operate on test
 code.  Note however that you cannot *build* or run tests via ``cargo``, because
 they need support C code from QEMU that Cargo does not know about.  Tests can
-be run via ``meson test`` or ``make``::
+be run via Meson (``pyvenv/bin/meson test``) or ``make``::
 
    make check-rust
 
index 71f31cb11606965ed2815f0b8d653721fe72856a..50f625fd77e42f17ab29b6379ac696817e76360b 100644 (file)
@@ -54,7 +54,7 @@ directory:
 
 .. code-block:: shell
 
-  meson test qtest-x86_64/qos-test
+  pyvenv/bin/meson test qtest-x86_64/qos-test
 
 ethtool can test register accesses, interrupts, etc. It is automated as an
 functional test and can be run from the build directory with the following