Skip to content
Snippets Groups Projects
  1. Mar 21, 2022
    • Peter Maydell's avatar
      Merge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into staging · 2028ab51
      Peter Maydell authored
      Pull request
      
      Bug fixes for 7.0.
      
      # gpg: Signature made Thu 17 Mar 2022 16:42:22 GMT
      # gpg:                using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8
      # gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>" [full]
      # gpg:                 aka "Stefan Hajnoczi <stefanha@gmail.com>" [full]
      # Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35  775A 9CA4 ABB3 81AB 73C8
      
      * tag 'block-pull-request' of https://gitlab.com/stefanha/qemu
      
      :
        aio-posix: fix spurious ->poll_ready() callbacks in main loop
        aio-posix: fix build failure io_uring 2.2
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      2028ab51
    • Peter Maydell's avatar
      Merge tag 'pull-ppc-20220321' of https://github.com/legoater/qemu into staging · ecf1bbe3
      Peter Maydell authored
      ppc-7.0 queue :
      
      * ISA v3.1 vector instruction fixes
      * Compilation fix regarding 'struct pt_regs' definition
      
      # gpg: Signature made Mon 21 Mar 2022 06:43:22 GMT
      # gpg:                using RSA key A0F66548F04895EBFE6B0B6051A343C7CFFBECA1
      # gpg: Good signature from "Cédric Le Goater <clg@kaod.org>" [undefined]
      # 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: A0F6 6548 F048 95EB FE6B  0B60 51A3 43C7 CFFB ECA1
      
      * tag 'pull-ppc-20220321' of https://github.com/legoater/qemu
      
      :
        target/ppc: Replicate Double->Single-Precision result
        target/ppc: Replicate double->int32 result for some vector insns
        ppc64: Avoid pt_regs struct definition
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      ecf1bbe3
  2. Mar 20, 2022
  3. Mar 19, 2022
    • Peter Maydell's avatar
      Merge tag 'fixes-20220318-pull-request' of git://git.kraxel.org/qemu into staging · 2058fdbe
      Peter Maydell authored
      bugfixes for vga, audio, vnc
      
      # gpg: Signature made Fri 18 Mar 2022 13:56:22 GMT
      # gpg:                using RSA key A0328CFFB93A17A79901FE7D4CB6D8EED3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full]
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>" [full]
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full]
      # Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138
      
      * tag 'fixes-20220318-pull-request' of git://git.kraxel.org/qemu
      
      :
        hw/display/vga: Report a proper error when adding a 2nd ISA VGA
        hw/display: Allow vga_common_init() to return errors
        hw/display/cirrus_vga: Clean up indentation in pci_cirrus_vga_realize()
        audio/mixeng: Do not declare unused variables
        ui: avoid unnecessary memory operations in vnc_refresh_server_surface()
        ui/gtk: Ignore 2- and 3-button press events
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      2058fdbe
    • Peter Maydell's avatar
      Merge tag 'trivial-branch-for-7.0-pull-request' of... · c9020c8e
      Peter Maydell authored
      Merge tag 'trivial-branch-for-7.0-pull-request' of https://gitlab.com/laurent_vivier/qemu into staging
      
      Trivial branch pull request 20220318
      
      # gpg: Signature made Fri 18 Mar 2022 13:42:58 GMT
      # gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
      # gpg:                issuer "laurent@vivier.eu"
      # gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
      # gpg:                 aka "Laurent Vivier <laurent@vivier.eu>" [full]
      # gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" [full]
      # Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C
      
      * tag 'trivial-branch-for-7.0-pull-request' of https://gitlab.com/laurent_vivier/qemu
      
      :
        virtio/virtio-balloon: Prefer Object* over void* parameter
        hw/pci/pci.c: Fix typos of "Firewire", and of "controller" on same line
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      c9020c8e
  4. Mar 18, 2022
  5. Mar 17, 2022
    • Stefan Hajnoczi's avatar
      aio-posix: fix spurious ->poll_ready() callbacks in main loop · fc879646
      Stefan Hajnoczi authored
      
      When ->poll() succeeds the AioHandler is placed on the ready list with
      revents set to the magic value 0. This magic value causes
      aio_dispatch_handler() to invoke ->poll_ready() instead of ->io_read()
      for G_IO_IN or ->io_write() for G_IO_OUT.
      
      This magic value 0 hack works for the IOThread where AioHandlers are
      placed on ->ready_list and processed by aio_dispatch_ready_handlers().
      It does not work for the main loop where all AioHandlers are processed
      by aio_dispatch_handlers(), even those that are not ready and have a
      revents value of 0.
      
      As a result the main loop invokes ->poll_ready() on AioHandlers that are
      not ready. These spurious ->poll_ready() calls waste CPU cycles and
      could lead to crashes if the code assumes ->poll() must have succeeded
      before ->poll_ready() is called (a reasonable asumption but I haven't
      seen it in practice).
      
      Stop using revents to track whether ->poll_ready() will be called on an
      AioHandler. Introduce a separate AioHandler->poll_ready field instead.
      This eliminates spurious ->poll_ready() calls in the main loop.
      
      Fixes: 826cc324 ("aio-posix: split poll check from ready handler")
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      Reported-by: default avatarJason Wang <jasowang@redhat.com>
      Tested-by: default avatarJason Wang <jasowang@redhat.com>
      Message-id: 20220223155703.136833-1-stefanha@redhat.com
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      fc879646
    • Haiyue Wang's avatar
      aio-posix: fix build failure io_uring 2.2 · 8a947c7a
      Haiyue Wang authored
      The io_uring fixed "Don't truncate addr fields to 32-bit on 32-bit":
      https://git.kernel.dk/cgit/liburing/commit/?id=d84c29b19ed0b130000619cff40141bb1fc3615b
      
      
      
      This leads to build failure:
      ../util/fdmon-io_uring.c: In function ‘add_poll_remove_sqe’:
      ../util/fdmon-io_uring.c:182:36: error: passing argument 2 of ‘io_uring_prep_poll_remove’ makes integer from pointer without a cast [-Werror=int-conversion]
        182 |     io_uring_prep_poll_remove(sqe, node);
            |                                    ^~~~
            |                                    |
            |                                    AioHandler *
      In file included from /root/io/qemu/include/block/aio.h:18,
                       from ../util/aio-posix.h:20,
                       from ../util/fdmon-io_uring.c:49:
      /usr/include/liburing.h:415:17: note: expected ‘__u64’ {aka ‘long long unsigned int’} but argument is of type ‘AioHandler *’
        415 |           __u64 user_data)
            |           ~~~~~~^~~~~~~~~
      cc1: all warnings being treated as errors
      
      Use LIBURING_HAVE_DATA64 to check whether the io_uring supports 64-bit
      variants of the get/set userdata, to convert the paramter to the right
      data type.
      
      Signed-off-by: default avatarHaiyue Wang <haiyue.wang@intel.com>
      Message-Id: <20220221162401.45415-1-haiyue.wang@intel.com>
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      8a947c7a
  6. Mar 16, 2022
    • Peter Maydell's avatar
      Merge tag 'pull-request-2022-03-15v2' of https://gitlab.com/thuth/qemu into staging · 1d60bb4b
      Peter Maydell authored
      * Fixes for s390x branch instruction emulation
      * Fixes for the tests/avocado/boot_linux.py:BootLinuxS390X test
      * Re-enable the "-cpu help" output
      
      # gpg: Signature made Wed 16 Mar 2022 08:01:14 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-15v2' of https://gitlab.com/thuth/qemu
      
      :
        softmmu: List CPU types again
        accel/tcg: Fix cpu_ldq_be_mmu typo
        tests/avocado: start PhoneServer upfront
        tests/tcg/s390x: Test BRASL and BRCL with large negative offsets
        s390x/tcg: Fix BRCL with a large negative offset
        s390x/tcg: Fix BRASL with a large negative offset
        tests/tcg: drop -cpu max from s390x sha512-mvx invocation
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      1d60bb4b
Loading