mbox

[PULL,00/12] Misc fixes, i386 TSTEQ/TSTNE, coverity CI for 2024-03-08

Message ID 20240308145554.599614-1-pbonzini@redhat.com (mailing list archive)
State New, archived
Headers show

Pull-request

https://gitlab.com/bonzini/qemu.git tags/for-upstream

Message

Paolo Bonzini March 8, 2024, 2:55 p.m. UTC
The following changes since commit 8f6330a807f2642dc2a3cdf33347aa28a4c00a87:

  Merge tag 'pull-maintainer-updates-060324-1' of https://gitlab.com/stsquad/qemu into staging (2024-03-06 16:56:20 +0000)

are available in the Git repository at:

  https://gitlab.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to 47791be8cc6efa0fb9c145a2b92da0417f4137b8:

  gitlab-ci: add manual job to run Coverity (2024-03-08 15:52:26 +0100)

----------------------------------------------------------------
* target/i386: use TSTEQ/TSTNE
* move Coverity builds to Gitlab CI
* fix two memory leaks
* bug fixes

----------------------------------------------------------------
Akihiko Odaki (1):
      meson: Remove --warn-common ldflag

Dmitrii Gavrilov (1):
      system/qdev-monitor: move drain_call_rcu call under if (!dev) in qmp_device_add()

Paolo Bonzini (8):
      hw/intc/apic: fix memory leak
      oslib-posix: fix memory leak in touch_all_pages
      mips: do not list individual devices from configs/
      target/i386: use TSTEQ/TSTNE to test low bits
      target/i386: use TSTEQ/TSTNE to check flags
      target/i386: remove mask from CCPrepare
      run-coverity-scan: add --check-upload-only option
      gitlab-ci: add manual job to run Coverity

Sven Schnelle (2):
      hw/scsi/lsi53c895a: add timer to scripts processing
      hw/scsi/lsi53c895a: stop script on phase mismatch

 configs/devices/mips-softmmu/common.mak      |  28 +------
 configs/devices/mips64el-softmmu/default.mak |   3 -
 meson.build                                  |   5 --
 hw/intc/apic.c                               |   6 +-
 hw/scsi/lsi53c895a.c                         |  59 ++++++++++----
 system/qdev-monitor.c                        |  23 +++---
 target/i386/tcg/translate.c                  | 115 ++++++++++++---------------
 util/oslib-posix.c                           |   6 +-
 target/i386/tcg/emit.c.inc                   |   5 +-
 .gitlab-ci.d/base.yml                        |   4 +
 .gitlab-ci.d/buildtest.yml                   |  39 ++++++++-
 .gitlab-ci.d/opensbi.yml                     |   4 +
 hw/display/Kconfig                           |   2 +-
 hw/mips/Kconfig                              |  20 ++++-
 hw/scsi/trace-events                         |   2 +
 scripts/coverity-scan/run-coverity-scan      |  59 ++++++++++----
 16 files changed, 228 insertions(+), 152 deletions(-)

Comments

Peter Maydell March 8, 2024, 5:31 p.m. UTC | #1
On Fri, 8 Mar 2024 at 14:58, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> The following changes since commit 8f6330a807f2642dc2a3cdf33347aa28a4c00a87:
>
>   Merge tag 'pull-maintainer-updates-060324-1' of https://gitlab.com/stsquad/qemu into staging (2024-03-06 16:56:20 +0000)
>
> are available in the Git repository at:
>
>   https://gitlab.com/bonzini/qemu.git tags/for-upstream
>
> for you to fetch changes up to 47791be8cc6efa0fb9c145a2b92da0417f4137b8:
>
>   gitlab-ci: add manual job to run Coverity (2024-03-08 15:52:26 +0100)
>
> ----------------------------------------------------------------
> * target/i386: use TSTEQ/TSTNE
> * move Coverity builds to Gitlab CI
> * fix two memory leaks
> * bug fixes
>
> ----------------------------------------------------------------
> Akihiko Odaki (1):
>       meson: Remove --warn-common ldflag
>
> Dmitrii Gavrilov (1):
>       system/qdev-monitor: move drain_call_rcu call under if (!dev) in qmp_device_add()
>
> Paolo Bonzini (8):
>       hw/intc/apic: fix memory leak
>       oslib-posix: fix memory leak in touch_all_pages
>       mips: do not list individual devices from configs/
>       target/i386: use TSTEQ/TSTNE to test low bits
>       target/i386: use TSTEQ/TSTNE to check flags
>       target/i386: remove mask from CCPrepare
>       run-coverity-scan: add --check-upload-only option
>       gitlab-ci: add manual job to run Coverity
>
> Sven Schnelle (2):
>       hw/scsi/lsi53c895a: add timer to scripts processing
>       hw/scsi/lsi53c895a: stop script on phase mismatch

Looks like this hits a TCG assertion on aarch64 host:
https://gitlab.com/qemu-project/qemu/-/jobs/6353434430

Several of the qtest tests fail with:

66/853 qemu:qtest+qtest-x86_64 / qtest-x86_64/vmgenid-test ERROR 0.44s
killed by signal 6 SIGABRT
>>> G_TEST_DBUS_DAEMON=/home/gitlab-runner/builds/E8PpwMky/0/qemu-project/qemu/tests/dbus-vmstate-daemon.sh QTEST_QEMU_STORAGE_DAEMON_BINARY=./storage-daemon/qemu-storage-daemon PYTHON=/home/gitlab-runner/builds/E8PpwMky/0/qemu-project/qemu/build/pyvenv/bin/python3 MALLOC_PERTURB_=139 QTEST_QEMU_IMG=./qemu-img QTEST_QEMU_BINARY=./qemu-system-x86_64 /home/gitlab-runner/builds/E8PpwMky/0/qemu-project/qemu/build/tests/qtest/vmgenid-test --tap -k
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
stderr:
**
ERROR:/home/gitlab-runner/builds/E8PpwMky/0/qemu-project/qemu/tcg/aarch64/tcg-target.c.inc:1511:tcg_out_brcond:
code should not be reached
Broken pipe
../tests/qtest/libqtest.c:204: kill_qemu() detected QEMU death from
signal 6 (Aborted) (core dumped)
(test program exited with status code -6)

thanks
-- PMM
Paolo Bonzini March 8, 2024, 6:12 p.m. UTC | #2
On Fri, Mar 8, 2024 at 6:32 PM Peter Maydell <peter.maydell@linaro.org> wrote:
> Looks like this hits a TCG assertion on aarch64 host:
> https://gitlab.com/qemu-project/qemu/-/jobs/6353434430

Ok, I dropped the TSTEQ/TSTNE patches.

Paolo