Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: ba7c60c203eb068cff591e4d0e7dbcc2b5aa013a https://github.com/qemu/qemu/commit/ba7c60c203eb068cff591e4d0e7dbcc2b5aa013a Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-12-18 (Sat, 18 Dec 2021)
Changed paths: M configure Log Message: ----------- configure: make $targetos lowercase, use windows instead of MINGW32 targetos is already mostly the same as Meson host_machine.system(), just in CamelCase. Adjust Windows, which is different, and switch to lowercase to match Meson. Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 65eff01bcf920bcdbdb83dd0546005b522742c47 https://github.com/qemu/qemu/commit/65eff01bcf920bcdbdb83dd0546005b522742c47 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-12-18 (Sat, 18 Dec 2021) Changed paths: M configure Log Message: ----------- configure: move target detection before CPU detection This makes more sense, since target detection can affect CPU detection on Solaris. Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: e4da0e39dfce5366b22b3e28ec63d0470c1df550 https://github.com/qemu/qemu/commit/e4da0e39dfce5366b22b3e28ec63d0470c1df550 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-12-18 (Sat, 18 Dec 2021) Changed paths: M configure Log Message: ----------- configure: unify two case statements on $cpu Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: d8ff892dc23e9921db49d2053036240675bb50f8 https://github.com/qemu/qemu/commit/d8ff892dc23e9921db49d2053036240675bb50f8 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-12-18 (Sat, 18 Dec 2021) Changed paths: M configure M tests/tcg/configure.sh Log Message: ----------- configure: unify ppc64 and ppc64le The only difference between the two, as far as either configure or Meson are concerned, is the default endianness of the compiler. For tests/tcg, specify the endianness explicitly on the command line; for configure, do the same so that it is possible to have --cpu=ppc64le on a bigendian system or vice versa. Apart from this, cpu=ppc64le can be normalized to ppc64 also in configure and not just in the meson cross file. Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 4da270be1c4ac32c0e60a364e3173b57b1f79dba https://github.com/qemu/qemu/commit/4da270be1c4ac32c0e60a364e3173b57b1f79dba Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-12-18 (Sat, 18 Dec 2021) Changed paths: M configure M meson.build Log Message: ----------- configure: unify x86_64 and x32 The only difference between the two, as far as either configure or Meson are concerned, is in the multilib flags passed to the compiler. For QEMU, this fixes the handling of TYPE_OLDDEVT in include/exec/user/thunk.h and enables testing of dirty ring buffer, because both are using HOST_X86_64. For tests/tcg, this means that on a hypothetical x32 host the cross compiler will not be used to build the tests. Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: ffb91f68b1c13a1cc36124350eacfe14095d5e1e https://github.com/qemu/qemu/commit/ffb91f68b1c13a1cc36124350eacfe14095d5e1e Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-12-18 (Sat, 18 Dec 2021) Changed paths: M meson.build Log Message: ----------- meson: rename "arch" variable Avoid confusion between the ARCH variable of configure/config-host.mak and the same-named variable of meson.build. Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 823eb013452e93d34fc0630fea98717d7d8f240a https://github.com/qemu/qemu/commit/823eb013452e93d34fc0630fea98717d7d8f240a Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-12-18 (Sat, 18 Dec 2021) Changed paths: M configure M meson.build Log Message: ----------- configure, meson: move ARCH to meson.build $ARCH and the HOST_* symbols are only used by the QEMU build; configure uses $cpu instead. Remove it from config-host.mak. Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 0f457147f41bd7cbb7fd1193b057af9226a2184a https://github.com/qemu/qemu/commit/0f457147f41bd7cbb7fd1193b057af9226a2184a Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-12-18 (Sat, 18 Dec 2021) Changed paths: M configure M pc-bios/meson.build Log Message: ----------- configure: remove unnecessary symlinks Make pc-bios/meson.build use the files in the source tree as inputs to bzip2. Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 5dce7b8d8ce6f397a2f2e46c236cc102d4e7a585 https://github.com/qemu/qemu/commit/5dce7b8d8ce6f397a2f2e46c236cc102d4e7a585 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-12-18 (Sat, 18 Dec 2021) Changed paths: M configure Log Message: ----------- configure: remove DIRS DIRS is used to create the directory in which the LINKS symbolic links reside, or to create directories for object files. The former can be done directly in the symlinking loop, while the latter is done by Meson already, so DIRS is not necessary. Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Tested-by: Alex Bennée <alex.ben...@linaro.org> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 7a82413dbd8275303e4df9822c213bca15c34e86 https://github.com/qemu/qemu/commit/7a82413dbd8275303e4df9822c213bca15c34e86 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-12-18 (Sat, 18 Dec 2021) Changed paths: M tests/unit/meson.build Log Message: ----------- meson: reenable test-fdmon-epoll The test was disabled when CONFIG_EPOLL_CREATE1 was moved out of config-host.mak. Fix the condition. Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: ad5439bb537a296814e40947dec51f1f96078bec https://github.com/qemu/qemu/commit/ad5439bb537a296814e40947dec51f1f96078bec Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-12-18 (Sat, 18 Dec 2021) Changed paths: M cpu.c M include/exec/cpu-all.h Log Message: ----------- cpu: remove unnecessary #ifdef CONFIG_TCG "if (tcg_enabled())" allows elision of the code inside it; we only need the prototype to exist, so that the code compile even for the --disable-tcg case. Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: b20a7ee6f0771b3ec7de9a4c7c7b0e5890b70f3e https://github.com/qemu/qemu/commit/b20a7ee6f0771b3ec7de9a4c7c7b0e5890b70f3e Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2021-12-18 (Sat, 18 Dec 2021) Changed paths: M docs/meson.build Log Message: ----------- meson: add "check" argument to run_command Meson is planning to change the default of the "check" argument to run_command (from false to true). Be explicit and include it in all invocations. Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 7a3ce79c062117501e89a10a7768051b8b52d562 https://github.com/qemu/qemu/commit/7a3ce79c062117501e89a10a7768051b8b52d562 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2021-12-18 (Sat, 18 Dec 2021) Changed paths: M include/hw/scsi/scsi.h Log Message: ----------- hw/scsi: Fix scsi_bus_init_named() docstring Commit 739e95f5741 ("scsi: Replace scsi_bus_new() with scsi_bus_init(), scsi_bus_init_named()") forgot to rename scsi_bus_init() in the function documentation string. Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Message-Id: <20211122104744.1051554-1-f4...@amsat.org> Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 97a2b074d150918a7a3a4065b946a52d4d0be8a3 https://github.com/qemu/qemu/commit/97a2b074d150918a7a3a4065b946a52d4d0be8a3 Author: Philippe Mathieu-Daudé <phi...@redhat.com> Date: 2021-12-18 (Sat, 18 Dec 2021) Changed paths: M hw/scsi/megasas.c Log Message: ----------- hw/scsi/megasas: Fails command if SGL buffer overflows If we detect an overflow on the SGL buffer, do not keep processing the command: discard it. TARGET_FAILURE sense code will be returned (MFI_STAT_SCSI_DONE_WITH_ERROR). Reported-by: Alexander Bulekov <alx...@bu.edu> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/521 Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> Reviewed-by: Darren Kenny <darren.ke...@oracle.com> Message-Id: <20211119201141.532377-2-phi...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 08c34c642dbcb5f7d9d94b07b471f80e333541cc https://github.com/qemu/qemu/commit/08c34c642dbcb5f7d9d94b07b471f80e333541cc Author: Philippe Mathieu-Daudé <phi...@redhat.com> Date: 2021-12-18 (Sat, 18 Dec 2021) Changed paths: M tests/qtest/fuzz-megasas-test.c Log Message: ----------- tests/qtest/fuzz-megasas-test: Add test for GitLab issue #521 Without the previous commit, this test triggers: $ make check-qtest-x86_64 [...] Running test qtest-x86_64/fuzz-megasas-test qemu-system-x86_64: softmmu/physmem.c:3229: address_space_unmap: Assertion `mr != NULL' failed. Broken pipe ERROR qtest-x86_64/fuzz-megasas-test - too few tests run (expected 2, got 1) Suggested-by: Alexander Bulekov <alx...@bu.edu> Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> Reviewed-by: Darren Kenny <darren.ke...@oracle.com> Message-Id: <20211119201141.532377-3-phi...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 5a3a2eb3b1096a52580c1b8c3eb0739714e7d941 https://github.com/qemu/qemu/commit/5a3a2eb3b1096a52580c1b8c3eb0739714e7d941 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2021-12-18 (Sat, 18 Dec 2021) Changed paths: M hw/i386/vmmouse.c Log Message: ----------- hw/i386/vmmouse: Require 'i8042' property to be set If the 'i8042' property is not set, mouse events handled by vmmouse_mouse_event() end calling i8042_isa_mouse_fake_event() with a NULL argument, resulting in ps2_mouse_fake_event() being called with invalid PS2MouseState pointer. Fix by requiring the 'i8042' property to be always set: $ qemu-system-x86_64 -device vmmouse qemu-system-x86_64: -device vmmouse: 'i8042' link is not set Fixes: 91c9e09147b ("vmmouse: convert to qdev") Reported-by: Calvin Buckley <cal...@cmpct.info> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/752 Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Message-Id: <20211201223253.36080-1-f4...@amsat.org> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 212a33d3b0c65ae2583bb1d06cb140cd0890894c https://github.com/qemu/qemu/commit/212a33d3b0c65ae2583bb1d06cb140cd0890894c Author: Richard Henderson <richard.hender...@linaro.org> Date: 2021-12-19 (Sun, 19 Dec 2021) Changed paths: M configure M cpu.c M docs/meson.build M hw/i386/vmmouse.c M hw/scsi/megasas.c M include/exec/cpu-all.h M include/hw/scsi/scsi.h M meson.build M pc-bios/meson.build M tests/qtest/fuzz-megasas-test.c M tests/tcg/configure.sh M tests/unit/meson.build Log Message: ----------- Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging * configure and meson cleanups and fixes * remove unnecessary #ifdef * SCSI and i386 fixes # gpg: Signature made Sat 18 Dec 2021 02:00:22 AM PST # gpg: using RSA key F13338574B662389866C7682BFFBD25F78C7AE83 # gpg: issuer "pbonz...@redhat.com" # gpg: Good signature from "Paolo Bonzini <bonz...@gnu.org>" [unknown] # gpg: aka "Paolo Bonzini <pbonz...@redhat.com>" [unknown] # gpg: WARNING: This key is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1 # Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83 * tag 'for-upstream' of https://gitlab.com/bonzini/qemu: hw/i386/vmmouse: Require 'i8042' property to be set tests/qtest/fuzz-megasas-test: Add test for GitLab issue #521 hw/scsi/megasas: Fails command if SGL buffer overflows hw/scsi: Fix scsi_bus_init_named() docstring meson: add "check" argument to run_command cpu: remove unnecessary #ifdef CONFIG_TCG meson: reenable test-fdmon-epoll configure: remove DIRS configure: remove unnecessary symlinks configure, meson: move ARCH to meson.build meson: rename "arch" variable configure: unify x86_64 and x32 configure: unify ppc64 and ppc64le configure: unify two case statements on $cpu configure: move target detection before CPU detection configure: make $targetos lowercase, use windows instead of MINGW32 Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Compare: https://github.com/qemu/qemu/compare/90978e15bc9a...212a33d3b0c6