Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 381123ddae754b68d55cd872e719a2ba69fe7f4a https://github.com/qemu/qemu/commit/381123ddae754b68d55cd872e719a2ba69fe7f4a Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021)
Changed paths: M configure Log Message: ----------- configure: remove --oss-lib OSS is a kernel API, so the option should not be needed. The library is used on NetBSD, where OSS is emulated, so keep the variable. Cc: Gerd Hoffman <kra...@redhat.com> Cc: Volker Rümelin <vr_q...@t-online.de> Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Reviewed-by: Thomas Huth <th...@redhat.com> Message-Id: <20211007130630.632028-2-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 7e1fbe7963f2b9bb44d6aa5c1ef793894212190a https://github.com/qemu/qemu/commit/7e1fbe7963f2b9bb44d6aa5c1ef793894212190a Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M audio/meson.build M configure Log Message: ----------- audio: remove CONFIG_AUDIO_WIN_INT Ever since winwaveaudio was removed in 2015, CONFIG_AUDIO_WIN_INT is only set if dsound is in use, so use CONFIG_AUDIO_DSOUND directly. Cc: Gerd Hoffman <kra...@redhat.com> Cc: Volker Rümelin <vr_q...@t-online.de> Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Message-Id: <20211007130630.632028-3-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 87430d5b13fdef0768cdb55352652ff78095e761 https://github.com/qemu/qemu/commit/87430d5b13fdef0768cdb55352652ff78095e761 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M audio/meson.build M configure M meson.build M meson_options.txt Log Message: ----------- configure, meson: move audio driver detection to Meson This brings a change that makes audio drivers more similar to all other modules. All drivers are built by default, while --audio-drv-list only governs the default choice of the audio driver. Meson options are added to disable the drivers, and the next patches will fix the help messages and command line options, and especially make the non-default drivers available via -audiodev. Cc: Gerd Hoffman <kra...@redhat.com> Cc: Volker Rümelin <vr_q...@t-online.de> Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Message-Id: <20211007130630.632028-4-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: e5424a2997bd5c6d480e80d3aa106bd4fba5fa7c https://github.com/qemu/qemu/commit/e5424a2997bd5c6d480e80d3aa106bd4fba5fa7c Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M meson.build Log Message: ----------- meson: define symbols for all available audio drivers All drivers are now built by default if the corresponding libraries are available, similar to how all other modules behave; --audio-drv-list only governs the default choice of the audio driver. Adjust the CONFIG_AUDIO_* preprocessor symbols so that they are based on library availability rather than --audio-drv-list, so that the tests and -audiodev help follow the new logic. Cc: Gerd Hoffman <kra...@redhat.com> Cc: Volker Rümelin <vr_q...@t-online.de> Message-Id: <20211007130630.632028-5-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: ca50e5231cfc120e90d264890bff59330257c361 https://github.com/qemu/qemu/commit/ca50e5231cfc120e90d264890bff59330257c361 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M configure Log Message: ----------- configure: add command line options for audio drivers Handle the choice of audio drivers the same as all other dependencies. Cc: Gerd Hoffman <kra...@redhat.com> Cc: Volker Rümelin <vr_q...@t-online.de> Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Message-Id: <20211007130630.632028-6-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 65ce87d47669168593398a4a3a0c0b0494858c0d https://github.com/qemu/qemu/commit/65ce87d47669168593398a4a3a0c0b0494858c0d Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M Kconfig.host M hw/mem/Kconfig M hw/mem/meson.build M meson.build Log Message: ----------- kconfig: split CONFIG_SPARSE_MEM from fuzzing Pass CONFIG_FUZZ via host_kconfig, and use it to select the sparse-mem device. Cc: Alexander Oleinik <alx...@bu.edu> Reviewed-by: Alexander Bulekov <alx...@bu.edu> Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com> Tested-by: Alexander Bulekov <alx...@bu.edu> Message-Id: <20211007130829.632254-1-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 537b7248991b85d1fb92cce78ecf1056f40bb750 https://github.com/qemu/qemu/commit/537b7248991b85d1fb92cce78ecf1056f40bb750 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M configure M meson.build M meson_options.txt M tests/qtest/fuzz/meson.build Log Message: ----------- configure, meson: move fuzzing configuration to Meson Cc: Alexander Oleinik <alx...@bu.edu> Reviewed-by: Alexander Bulekov <alx...@bu.edu> Tested-by: Alexander Bulekov <alx...@bu.edu> Message-Id: <20211007130829.632254-2-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 0955d66e65e68580021a99960581422e93c127d4 https://github.com/qemu/qemu/commit/0955d66e65e68580021a99960581422e93c127d4 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M configure M meson.build M trace/simple.c Log Message: ----------- trace: simple: pass trace_file unmodified to config-host.h Add the suffix directly in trace/simple.c, so that quoting is done properly by Meson. Cc: Stefan Hajnoczi <stefa...@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Message-Id: <20211007130829.632254-3-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 9c29b74100e565c448b74a2f0e4051f4e656d18c https://github.com/qemu/qemu/commit/9c29b74100e565c448b74a2f0e4051f4e656d18c Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M configure M docs/meson.build M meson.build M meson_options.txt M scripts/meson.build M trace/meson.build Log Message: ----------- trace: move configuration from configure to Meson Cc: Stefan Hajnoczi <stefa...@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Message-Id: <20211007130829.632254-4-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: a630508112aebad0da19384ff42642312d9d164f https://github.com/qemu/qemu/commit/a630508112aebad0da19384ff42642312d9d164f Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M configure M meson.build Log Message: ----------- configure, meson: move CONFIG_HOST_DSOSUF to Meson This is just a constant string, there is no need to pass it in config-host.mak. Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com> Message-Id: <20211007130829.632254-5-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 269506d228d1aa48743a74d7a37d41d85ed9da59 https://github.com/qemu/qemu/commit/269506d228d1aa48743a74d7a37d41d85ed9da59 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M configure M meson.build Log Message: ----------- configure, meson: get HOST_WORDS_BIGENDIAN via the machine object No need to pass it in config-host.mak. Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com> Message-Id: <20211007130829.632254-6-pbonz...@redhat.com> Reviewed-by: Thomas Huth <th...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: af2bb99bc122ecce3f1193aaf880f31b18cf6bd9 https://github.com/qemu/qemu/commit/af2bb99bc122ecce3f1193aaf880f31b18cf6bd9 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M configure M meson.build Log Message: ----------- configure, meson: remove CONFIG_GCOV from config-host.mak Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Message-Id: <20211007130829.632254-7-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: a76a1f6b764bf9076440eb1a70e8c7636793d7fe https://github.com/qemu/qemu/commit/a76a1f6b764bf9076440eb1a70e8c7636793d7fe Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M meson.build Log Message: ----------- meson: HAVE_GDB_BIN is not used by C code It is only used by the TCG tests, remove it from config-host.h. Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 96a63aeb3d6658b837523fee0df25300622e1dd0 https://github.com/qemu/qemu/commit/96a63aeb3d6658b837523fee0df25300622e1dd0 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M configure M meson.build Log Message: ----------- configure, meson: move remaining HAVE_* compiler tests to Meson Remove some special cases by moving them to Meson. Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Message-Id: <20211007130829.632254-8-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 10f6b231879c94f34d3e6549c7b81b494d3cd1c2 https://github.com/qemu/qemu/commit/10f6b231879c94f34d3e6549c7b81b494d3cd1c2 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M configure M meson.build M util/qemu-thread-posix.c Log Message: ----------- configure, meson: move pthread_setname_np checks to Meson This makes the pthreads check dead in configure, so remove it as well. Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Message-Id: <20211007130829.632254-9-pbonz...@redhat.com> Reviewed-by: Thomas Huth <th...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: ff66f3e55b5a8d95f0af1b7573bbcad5212b0ce7 https://github.com/qemu/qemu/commit/ff66f3e55b5a8d95f0af1b7573bbcad5212b0ce7 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M block/meson.build M configure M meson.build M meson_options.txt M stubs/meson.build Log Message: ----------- configure, meson: move libaio check to meson.build Message-Id: <20211007130829.632254-10-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: e17239993d0f55c6b67a0318f177ab1168817e01 https://github.com/qemu/qemu/commit/e17239993d0f55c6b67a0318f177ab1168817e01 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M configure M meson.build M meson_options.txt M net/meson.build Log Message: ----------- configure, meson: move vde detection to meson Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Message-Id: <20211007130829.632254-11-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 837b84b1c078bf3e909017ca11be7182a5df2ed0 https://github.com/qemu/qemu/commit/837b84b1c078bf3e909017ca11be7182a5df2ed0 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M configure M meson.build M meson_options.txt M net/meson.build Log Message: ----------- configure, meson: move netmap detection to meson Message-Id: <20211007130829.632254-12-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 3f0a5d55ae1cd47149bf11bd984e54fc03ad6cfb https://github.com/qemu/qemu/commit/3f0a5d55ae1cd47149bf11bd984e54fc03ad6cfb Author: Marc-André Lureau <marcandre.lur...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M chardev/meson.build M configure M meson.build M meson_options.txt M ui/meson.build Log Message: ----------- configure, meson: move Spice configure handling to meson Add meson feature options for Spice and Spice protocol, and move detection logic out of configure. Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> Message-Id: <20211007102453.978041-1-marcandre.lur...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Message-Id: <20211007130829.632254-13-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: b524e44fa4a6c0aeeb537fc704856002723c8d54 https://github.com/qemu/qemu/commit/b524e44fa4a6c0aeeb537fc704856002723c8d54 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M configure Log Message: ----------- configure: remove obsolete Solaris ar check Meson already has its own logic to find the "ar" binary, so remove the Solaris specific check. Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Reviewed-by: Thomas Huth <th...@redhat.com> Message-Id: <20211007130829.632254-14-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: bd87a36709096034bb8e9d12d2bf6ee1d003b6d7 https://github.com/qemu/qemu/commit/bd87a36709096034bb8e9d12d2bf6ee1d003b6d7 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M configure M meson.build M util/meson.build Log Message: ----------- configure, meson: move more compiler checks to Meson Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Message-Id: <20211007130829.632254-15-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 7bdf1f5a19132b1765482d73ee6e0782ffd374f3 https://github.com/qemu/qemu/commit/7bdf1f5a19132b1765482d73ee6e0782ffd374f3 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M configure Log Message: ----------- configure: remove deprecated --{enable, disable}-git-update The options were deprecated in 6.0. That said, we do not really have a formal deprecation cycle for build-time changes, since they do not affect users. Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Message-Id: <20211007130829.632254-16-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 03a3c0b3c59e93beeb7ca72cba632f78eb060253 https://github.com/qemu/qemu/commit/03a3c0b3c59e93beeb7ca72cba632f78eb060253 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M configure Log Message: ----------- configure: accept "internal" for --enable-capstone/slirp/fdt Options such as "--enable-capstone=git" do not make much sense when building from a tarball. Accept "internal" for consistency with the meson options. Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Message-Id: <20211007130829.632254-17-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 61d63097bec3a11f64e14a05a81401f9af7cea11 https://github.com/qemu/qemu/commit/61d63097bec3a11f64e14a05a81401f9af7cea11 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M Makefile M configure A scripts/meson-buildoptions.py A scripts/meson-buildoptions.sh Log Message: ----------- configure: prepare for auto-generated option parsing Prepare the configure script and Makefile for automatically generated help and parsing. Because we need to run the script to generate the full help, we cannot rely on the user supplying the path to a Python interpreter with --python; therefore, the introspection output is parsed into shell functions and stored in scripts/. The converter is written in Python as standard for QEMU, and this commit contains a stub. Tested-by: Thomas Huth <th...@redhat.com> Message-Id: <20211007130829.632254-18-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 8b5fb29842fdb586485dcfc4f24a9997c07cc9de https://github.com/qemu/qemu/commit/8b5fb29842fdb586485dcfc4f24a9997c07cc9de Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M scripts/meson-buildoptions.py Log Message: ----------- meson-buildoptions: include list of tracing backends Manually patch the introspection data to include the tracing backends. This works around a deficiency in Meson that will be fixed by https://github.com/mesonbuild/meson/pull/9395. Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 3b4da13293482134b81d71be656ec76beff73a76 https://github.com/qemu/qemu/commit/3b4da13293482134b81d71be656ec76beff73a76 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M configure M docs/devel/build-system.rst M meson_options.txt M scripts/meson-buildoptions.py M scripts/meson-buildoptions.sh Log Message: ----------- configure: automatically parse command line for meson -D options Right now meson_options.txt lists about 90 options. Each option needs code in configure to parse it and pass the option down to Meson as a -D command-line argument; in addition the default must be duplicated between configure and meson_options.txt. This series tries to remove the code duplication by generating the case statement for those --enable and --disable options, as well as the corresponding help text. About 80% of the options can be handled completely by the new mechanism. Eight meson options are not of the --enable/--disable kind. Six more need to be parsed in configure for various reasons documented in the patch, but they still have their help automatically generated. The advantages are: - less code in configure - parsing and help is more consistent (for example --enable-blobs was not supported) - options are described entirely in one place, meson_options.txt. This make it more attractive to use Meson options instead of hand-crafted configure options and config-host.mak A few options change name: --enable-tcmalloc and --enable-jemalloc become --enable-malloc={tcmalloc,jemalloc}; --disable-blobs becomes --disable-install-blobs; --enable-trace-backend becomes --enable-trace-backends. However, the old names are allowed for backwards compatibility. Message-Id: <20211007130829.632254-19-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 4d1a525dfafe995a98bb486e702da09e31b68b9c https://github.com/qemu/qemu/commit/4d1a525dfafe995a98bb486e702da09e31b68b9c Author: Richard Henderson <richard.hender...@linaro.org> Date: 2021-10-14 (Thu, 14 Oct 2021) Changed paths: M Kconfig.host M Makefile M audio/meson.build M block/meson.build M chardev/meson.build M configure M docs/devel/build-system.rst M docs/meson.build M hw/mem/Kconfig M hw/mem/meson.build M meson.build M meson_options.txt M net/meson.build A scripts/meson-buildoptions.py A scripts/meson-buildoptions.sh M scripts/meson.build M stubs/meson.build M tests/qtest/fuzz/meson.build M trace/meson.build M trace/simple.c M ui/meson.build M util/meson.build M util/qemu-thread-posix.c Log Message: ----------- Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging * Meson conversions + introspection-based command line parser # gpg: Signature made Thu 14 Oct 2021 12:51:54 AM PDT # gpg: using RSA key F13338574B662389866C7682BFFBD25F78C7AE83 # gpg: issuer "pbonz...@redhat.com" # gpg: Good signature from "Paolo Bonzini <bonz...@gnu.org>" [full] # gpg: aka "Paolo Bonzini <pbonz...@redhat.com>" [full] * remotes/bonzini/tags/for-upstream: (26 commits) configure: automatically parse command line for meson -D options meson-buildoptions: include list of tracing backends configure: prepare for auto-generated option parsing configure: accept "internal" for --enable-capstone/slirp/fdt configure: remove deprecated --{enable, disable}-git-update configure, meson: move more compiler checks to Meson configure: remove obsolete Solaris ar check configure, meson: move Spice configure handling to meson configure, meson: move netmap detection to meson configure, meson: move vde detection to meson configure, meson: move libaio check to meson.build configure, meson: move pthread_setname_np checks to Meson configure, meson: move remaining HAVE_* compiler tests to Meson meson: HAVE_GDB_BIN is not used by C code configure, meson: remove CONFIG_GCOV from config-host.mak configure, meson: get HOST_WORDS_BIGENDIAN via the machine object configure, meson: move CONFIG_HOST_DSOSUF to Meson trace: move configuration from configure to Meson trace: simple: pass trace_file unmodified to config-host.h configure, meson: move fuzzing configuration to Meson ... Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Compare: https://github.com/qemu/qemu/compare/e5b2333f24ff...4d1a525dfafe