<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/qemu.git/meson.build, branch master</title>
<subtitle>QEMU main repository</subtitle>
<id>https://git.landau.one/pub/scm/virt/qemu/qemu.git/atom?h=master</id>
<link rel='self' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/'/>
<updated>2026-09-07T10:31:03+00:00</updated>
<entry>
<title>crypto: deprecate the AF_ALG crypto backend</title>
<updated>2026-09-07T10:31:03+00:00</updated>
<author>
<name>Daniel P. Berrangé</name>
<email>berrange@redhat.com</email>
</author>
<published>2026-07-22T11:47:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=00e70abb8500a9794425da908a3ea966f7060e33'/>
<id>urn:sha1:00e70abb8500a9794425da908a3ea966f7060e33</id>
<content type='text'>
Linux 7.2 has deprecated the AF_ALG crypto backend:

  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a67afb1884ba815079bd43d5c998e155e03b08b6

And has documented it to be always slower than userspace crypto:

  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5624ea54f3ba5c83d2e5503411a31a8be0278c1e

as a result of dropping support for zero-copy and hardware
accelerators:

  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7524070f26d8d347c26787dc297fb844baa26abf
  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ffdd2bc378953b525aca61902534e753f1f8e734

The main use case for the AF_ALG impl was to improve the performance
of virtio-crypto with the cryptodev-backend-builtin driver. In
practice this did not matter since 'cryptodev-backend-lkcf' can do
offload to the kernel via the keyctl syscall, and 'cryptodev-vhost-user'
can offload to an external process which can optionally integrate with
hardware accelerators without kernel assistance.

The AF_ALG backend has no user visible configuration options at runtime,
it is unconditionally tried with any use of the cipher APIs. So it does
not strictly have to go through the deprecation process, however, it is
left available initially in case there was an unexpected use case that
relies on it which may be faster with old kernels before the above Linux
commits.

Suggested-by: Thomas Huth &lt;thuth@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@oss.qualcomm.com&gt;
Reviewed-by: Cédric Le Goater &lt;clg@redhat.com&gt;
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
</entry>
<entry>
<title>meson.build: add summary for TCG tests</title>
<updated>2026-09-04T15:06:22+00:00</updated>
<author>
<name>Pierrick Bouvier</name>
<email>pierrick.bouvier@oss.qualcomm.com</email>
</author>
<published>2026-08-27T22:15:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=157d678c2ca04eadc157b8ab39e196eedf7d6ceb'/>
<id>urn:sha1:157d678c2ca04eadc157b8ab39e196eedf7d6ceb</id>
<content type='text'>
Replacing existing summary that only contained information about
existing cross compilers with a full summary for all targets.
We add gdb and container information.
We specify cc for each target (softmmu + linux-user) independently
in case we would use different cc for bare metal vs user binaries.

Users can query full command line for tests by building tests with
tcg-tests target, so no need to repeat it here.

Output before change:

$ ./configure
  Cross compilers
    aarch64                         : /path/to/qemu/build/pyvenv/bin/python3 -B /path/to/qemu/tests/docker/docker.py --engine auto cc --cc aarch64-linux-gnu-gcc -i qemu/debian-arm64-cross -s /path/to/qemu --
    aarch64_be                      : /path/to/qemu/build/pyvenv/bin/python3 -B /path/to/qemu/tests/docker/docker.py --engine auto cc --cc aarch64-linux-gnu-gcc -i qemu/debian-all-test-cross -s /path/to/qemu --
    alpha                           : alpha-linux-gnu-gcc
    ...

Output after change:

$ ./configure --disable-containers
  TCG tests
    gdb                             : /usr/bin/gdb-multiarch
    container command               : NO
    cc for aarch64-softmmu          : NO
    cc for aarch64-linux-user       : NO
    cc for aarch64_be-linux-user    : NO
    cc for alpha-softmmu            : alpha-linux-gnu-gcc

$ ./configure --gdb=gdb --container-command=podman
  TCG tests
    gdb                             : /usr/bin/gdb
    container command               : podman
    cc for aarch64-softmmu          : aarch64-linux-gnu-gcc (from 'debian-all-test-cross' container)
    cc for aarch64-linux-user       : aarch64-linux-gnu-gcc (from 'debian-all-test-cross' container)
    cc for aarch64_be-linux-user    : aarch64-linux-gnu-gcc (from 'debian-all-test-cross' container)
    cc for alpha-softmmu            : alpha-linux-gnu-gcc
    ...

Tested-by: Aniket Sahu &lt;asahu1x@linux.ibm.com&gt;
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Signed-off-by: Pierrick Bouvier &lt;pierrick.bouvier@oss.qualcomm.com&gt;
Message-ID: &lt;20260827221506.91574-104-pierrick.bouvier@oss.qualcomm.com&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>meson: bump minimal version to 1.6.0</title>
<updated>2026-09-04T14:06:02+00:00</updated>
<author>
<name>Pierrick Bouvier</name>
<email>pierrick.bouvier@oss.qualcomm.com</email>
</author>
<published>2026-08-27T22:13:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=8cb57d6fc4dbe295d8169091eeefe0bf5f8dbf7e'/>
<id>urn:sha1:8cb57d6fc4dbe295d8169091eeefe0bf5f8dbf7e</id>
<content type='text'>
Without it, we'll get the following warning:
WARNING: Project specifies a minimum meson_version '&gt;=1.5.0' but uses features which were added in newer versions:
 * 1.6.0: {'test with external_program in args'}

Which we require because of how we build iteratively our test command
line.

Tested-by: Aniket Sahu &lt;asahu1x@linux.ibm.com&gt;
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Signed-off-by: Pierrick Bouvier &lt;pierrick.bouvier@oss.qualcomm.com&gt;
Message-ID: &lt;20260827221506.91574-5-pierrick.bouvier@oss.qualcomm.com&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>build-sys: add 'hmp' option</title>
<updated>2026-08-29T08:07:45+00:00</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2026-08-28T12:04:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=d0d3060658fc93a1fc2ccc44d75e51622c8af3fc'/>
<id>urn:sha1:d0d3060658fc93a1fc2ccc44d75e51622c8af3fc</id>
<content type='text'>
Add an option to enable/disable HMP support, default to true. The
following commits are going to make --disable-hmp gradually work.

Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-ID: &lt;20260828-qemu-no-hmp-v5-49-9227de146347@redhat.com&gt;
</content>
</entry>
<entry>
<title>build-sys: make HMP source files conditional on have_hmp</title>
<updated>2026-08-29T08:07:45+00:00</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2026-08-28T12:04:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=34c5de5c6d6049b7cd0d475a32da8760f35c0ab5'/>
<id>urn:sha1:34c5de5c6d6049b7cd0d475a32da8760f35c0ab5</id>
<content type='text'>
Exclude all *-hmp-cmds.c files and HMP-only source files from the
build when HMP is disabled.

Also conditionalise the hmp-commands.hx header generation and the
test-hmp qtest.

Acked-by: Dr. David Alan Gilbert &lt;dave@treblig.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@oss.qualcomm.com&gt;
Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-ID: &lt;20260828-qemu-no-hmp-v5-45-9227de146347@redhat.com&gt;
</content>
</entry>
<entry>
<title>build-sys: introduce CONFIG_HMP</title>
<updated>2026-08-29T08:07:43+00:00</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2026-08-28T12:03:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=ace1984f7eec6b6d4313173511d032e97bfc344c'/>
<id>urn:sha1:ace1984f7eec6b6d4313173511d032e97bfc344c</id>
<content type='text'>
Introduce a config define to mark regions that should be compiled
out or disabeld when CONFIG_HMP is off. The actual meson configuration
option is introduced later, as for now, only "true" is supported.

Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@oss.qualcomm.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-ID: &lt;20260828-qemu-no-hmp-v5-1-9227de146347@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts: remove now dead parts of rustc_args.py</title>
<updated>2026-08-20T07:24:57+00:00</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2026-05-25T15:53:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=0836a79adafe9c5089839621ac761f84b92e95cf'/>
<id>urn:sha1:0836a79adafe9c5089839621ac761f84b92e95cf</id>
<content type='text'>
The logic to parse the [lints] section has been integrated
into Meson and can be removed.

Reviewed-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>rust: use meson automatic parsing of Cargo.toml</title>
<updated>2026-08-20T07:24:57+00:00</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2026-05-25T15:47:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=4c5c26548b746e5866b2c00c353f43e6e322ad96'/>
<id>urn:sha1:4c5c26548b746e5866b2c00c353f43e6e322ad96</id>
<content type='text'>
Finally, automatic parsing of Cargo.toml is also possible for QEMU's own
crates, not just for subprojects.  This removes the need to list the
dependencies and language editions in both Cargo.toml and meson.build
files.

Reviewed-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>meson: use compiler_target() to get rustc target</title>
<updated>2026-08-20T07:24:57+00:00</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2026-04-29T08:36:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=aaac1f8229efaf1bd13ccdff1a88af142aebafe9'/>
<id>urn:sha1:aaac1f8229efaf1bd13ccdff1a88af142aebafe9</id>
<content type='text'>
The new method in Meson 1.11.x removes the need to pass the triple
via config-host.mak.

Reviewed-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>rust: switch to autogenerated meson rules</title>
<updated>2026-08-20T07:24:57+00:00</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2026-05-25T15:35:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=530a9eb2c6aeae6c3b48820b47436389705a8cb1'/>
<id>urn:sha1:530a9eb2c6aeae6c3b48820b47436389705a8cb1</id>
<content type='text'>
Meson can automatically generate most of the build rules for
subprojects, based on the contents of their Cargo.toml.  Handwritten
snippets can be placed in meson/meson.build to replace build.rs.

Disable Meson's use of the nightly-only option "--env-set".  It is
buggy and anyway it should not be there in future version.

Reviewed-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
</feed>
