Skip to content
Snippets Groups Projects
  1. Mar 28, 2022
  2. Mar 26, 2022
  3. Mar 25, 2022
  4. Mar 24, 2022
  5. Mar 23, 2022
  6. Mar 22, 2022
    • Peter Maydell's avatar
      15ef89d2
    • Peter Maydell's avatar
      Merge tag 'pull-request-2022-03-21' of https://gitlab.com/thuth/qemu into staging · b7a3a705
      Peter Maydell authored
      * Fix stack-overflow due to recursive DMA in intel-hda (CVE-2021-3611)
      * Fix heap overflow due to recursive DMA in sdhci code
      
      # gpg: Signature made Mon 21 Mar 2022 16:14:36 GMT
      # gpg:                using RSA key 27B88847EEE0250118F3EAB92ED9D774FE702DB5
      # gpg:                issuer "thuth@redhat.com"
      # gpg: Good signature from "Thomas Huth <th.huth@gmx.de>" [full]
      # gpg:                 aka "Thomas Huth <thuth@redhat.com>" [full]
      # gpg:                 aka "Thomas Huth <huth@tuxfamily.org>" [full]
      # gpg:                 aka "Thomas Huth <th.huth@posteo.de>" [unknown]
      # Primary key fingerprint: 27B8 8847 EEE0 2501 18F3  EAB9 2ED9 D774 FE70 2DB5
      
      * tag 'pull-request-2022-03-21' of https://gitlab.com/thuth/qemu
      
      :
        tests/qtest/fuzz-sdcard-test: Add reproducer for OSS-Fuzz (Issue 29225)
        hw/sd/sdhci: Prohibit DMA accesses to devices
        hw/sd/sdhci: Honor failed DMA transactions
        tests/qtest/intel-hda-test: Add reproducer for issue #542
        hw/audio/intel-hda: Restrict DMA engine to memories (not MMIO devices)
        hw/audio/intel-hda: Do not ignore DMA overrun errors
        softmmu/physmem: Introduce MemTxAttrs::memory field and MEMTX_ACCESS_ERROR
        softmmu/physmem: Simplify flatview_write and address_space_access_valid
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      b7a3a705
    • Peter Maydell's avatar
      Merge tag 'fixes-pull-request' of gitlab.com:marcandre.lureau/qemu into staging · 04ddcda6
      Peter Maydell authored
      
      Fixes and cleanups for 7.0
      
      Hi,
      
      A collection of fixes & cleanup patches that should be safe for 7.0 inclusion.
      
      # gpg: Signature made Tue 22 Mar 2022 12:11:30 GMT
      # gpg:                using RSA key 87A9BD933F87C606D276F62DDAE8E10975969CE5
      # gpg:                issuer "marcandre.lureau@redhat.com"
      # gpg: Good signature from "Marc-André Lureau <marcandre.lureau@redhat.com>" [full]
      # gpg:                 aka "Marc-André Lureau <marcandre.lureau@gmail.com>" [full]
      # Primary key fingerprint: 87A9 BD93 3F87 C606 D276  F62D DAE8 E109 7596 9CE5
      
      * tag 'fixes-pull-request' of gitlab.com:marcandre.lureau/qemu: (21 commits)
        qapi: remove needless include
        Remove trailing ; after G_DEFINE_AUTO macro
        tests: remove needless include
        error: use GLib to remember the program name
        qga: remove bswap.h include
        qapi: remove needless include
        meson: fix CONFIG_ATOMIC128 check
        meson: move int128 checks from configure
        qapi: remove needless include
        util: remove the net/net.h dependency
        util: remove needless includes
        scripts/modinfo-collect: remove unused/dead code
        Move HOST_LONG_BITS to compiler.h
        Simplify HOST_LONG_BITS
        compiler.h: replace QEMU_SENTINEL with G_GNUC_NULL_TERMINATED
        compiler.h: replace QEMU_WARN_UNUSED_RESULT with G_GNUC_WARN_UNUSED_RESULT
        Replace GCC_FMT_ATTR with G_GNUC_PRINTF
        Drop qemu_foo() socket API wrapper
        m68k/nios2-semi: fix gettimeofday() result check
        vl: typo fix in a comment
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      04ddcda6
    • Alex Bennée's avatar
      gitlab: disable accelerated zlib for s390x · 309df6ac
      Alex Bennée authored
      
      There appears to be a bug in the s390 hardware-accelerated version of
      zlib distributed with Ubuntu 20.04, which makes our test
      /i386/migration/multifd/tcp/zlib hit an assertion perhaps one time in
      10. Fortunately zlib provides an escape hatch where we can disable the
      hardware-acceleration entirely by setting the environment variable
      DFLTCC to 0. Do this on all our CI which runs on s390 hosts, both our
      custom gitlab runner and also the Travis hosts.
      
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Acked-by: default avatarCornelia Huck <cohuck@redhat.com>
      Message-id: 20220321161151.3654386-1-alex.bennee@linaro.org
      Cc: Peter Maydell <peter.maydell@linaro.org>
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      309df6ac
    • Peter Maydell's avatar
      Merge tag 'pull-block-2022-03-22' of https://gitlab.com/hreitz/qemu into staging · 9d36d5f7
      Peter Maydell authored
      Block patches for 7.0-rc1:
      - iotest fixes:
        - Fix some iotests for riscv targets
        - Use GNU sed in more places where required
        - Meson-related fixes (i.e. to print errors when they occur)
        - Have qemu-img calls (from Python tests) generally raise nicely
          formattable exceptions on errors
        - Fix iotest 207
      - Allow RBD images to be growable by writing zeroes past the end of
        file, fixing qcow2 on rbd
      
      # gpg: Signature made Tue 22 Mar 2022 11:51:10 GMT
      # gpg:                using RSA key CB62D7A0EE3829E45F004D34A1FA40D098019CDF
      # gpg:                issuer "hreitz@redhat.com"
      # gpg: Good signature from "Hanna Reitz <hreitz@redhat.com>" [marginal]
      # gpg: WARNING: This key is not certified with sufficiently trusted signatures!
      # gpg:          It is not certain that the signature belongs to the owner.
      # Primary key fingerprint: CB62 D7A0 EE38 29E4 5F00  4D34 A1FA 40D0 9801 9CDF
      
      * tag 'pull-block-2022-03-22' of https://gitlab.com/hreitz/qemu
      
      : (25 commits)
        iotests/207: Filter host fingerprint
        iotests.py: Filters for VM.run_job()
        iotests: make qemu_img_log and img_info_log raise on error
        iotests: remove qemu_img_pipe_and_status()
        iotests: replace qemu_img_log('create', ...) calls
        iotests: use qemu_img() in has_working_luks()
        iotests: remove remaining calls to qemu_img_pipe()
        iotests/149: Remove qemu_img_pipe() call
        iotests: replace unchecked calls to qemu_img_pipe()
        iotests: change supports_quorum to use qemu_img
        iotests: add qemu_img_map() function
        iotests/remove-bitmap-from-backing: use qemu_img_info()
        iotests: add qemu_img_info()
        iotests: use qemu_img_json() when applicable
        iotests: add qemu_img_json()
        iotests: fortify compare_images() against crashes
        iotests: make qemu_img raise on non-zero rc by default
        iotests: Remove explicit checks for qemu_img() == 0
        python/utils: add VerboseProcessError
        python/utils: add add_visual_margin() text decoration utility
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      9d36d5f7
    • Fergus Henderson's avatar
      linux-user: Fix missing space in error message · 87966743
      Fergus Henderson authored
      
      Signed-off-by: default avatarFergus Henderson <fergus@google.com>
      Signed-off-by: default avatarPatrick Venture <venture@google.com>
      Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Message-Id: <20220310192148.1696486-1-venture@google.com>
      Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
      87966743
    • Richard Henderson's avatar
      linux-user: Properly handle sigset arg to ppoll · db36aa7d
      Richard Henderson authored
      
      Unblocked signals are never delivered, because we
      didn't record the new mask for process_pending_signals.
      Handle this with the same mechanism as sigsuspend.
      
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Reviewed-by: default avatarLaurent Vivier <laurent@vivier.eu>
      Message-Id: <20220315084308.433109-6-richard.henderson@linaro.org>
      Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
      db36aa7d
Loading