Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: qemu/qemu
base: 408af44d0447
Choose a base ref
...
head repository: qemu/qemu
compare: 92e1d39f9897
Choose a head ref
  • 17 commits
  • 26 files changed
  • 7 contributors

Commits on Aug 16, 2023

  1. Update version for v8.1.0-rc4 release

    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    rth7680 committed Aug 16, 2023
    Copy the full SHA
    0d52116 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. Update version for v8.1.0 release

    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    rth7680 committed Aug 22, 2023
    Copy the full SHA
    7e5a8bb View commit details
    Browse the repository at this point in the history
  2. Open 8.2 development tree

    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    rth7680 committed Aug 22, 2023
    Copy the full SHA
    b0dd9a7 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. hw: Add compat machines for 8.2

    Add 8.2 machine types for arm/i440fx/m68k/q35/s390x/spapr.
    
    Signed-off-by: Cornelia Huck <cohuck@redhat.com>
    Message-Id: <20230718142235.135319-1-cohuck@redhat.com>
    Reviewed-by: Thomas Huth <thuth@redhat.com>
    Reviewed-by: Cédric Le Goater <clg@kaod.org>
    Acked-by: Laurent Vivier <laurent@vivier.eu>
    Acked-by: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    cohuck authored and huth committed Aug 23, 2023
    Copy the full SHA
    95f5c89 View commit details
    Browse the repository at this point in the history
  2. s390x: Convert DPRINTF to trace events

    Output message are slightly modified to ease selection with wildcards
    and to report extra parameters.
    
    Signed-off-by: Cédric Le Goater <clg@redhat.com>
    Message-Id: <20230804080415.56852-1-clg@redhat.com>
    Reviewed-by: Thomas Huth <thuth@redhat.com>
    Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    legoater authored and huth committed Aug 23, 2023
    Copy the full SHA
    f4a6916 View commit details
    Browse the repository at this point in the history
  3. target/s390x: Check reserved bits of VFMIN/VFMAX's M5

    VFMIN and VFMAX should raise a specification exceptions when bits 1-3
    of M5 are set.
    
    Cc: qemu-stable@nongnu.org
    Fixes: da48075 ("s390x/tcg: Implement VECTOR FP (MAXIMUM|MINIMUM)")
    Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
    Message-Id: <20230804234621.252522-1-iii@linux.ibm.com>
    Reviewed-by: David Hildenbrand <david@redhat.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    iii-i authored and huth committed Aug 23, 2023
    Copy the full SHA
    6a2ea61 View commit details
    Browse the repository at this point in the history
  4. target/s390x: Fix VSTL with a large length

    The length is always truncated to 16 bytes. Do not probe more than
    that.
    
    Cc: qemu-stable@nongnu.org
    Fixes: 0e0a5b4 ("s390x/tcg: Implement VECTOR STORE WITH LENGTH")
    Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
    Message-Id: <20230804235624.263260-1-iii@linux.ibm.com>
    Reviewed-by: David Hildenbrand <david@redhat.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    iii-i authored and huth committed Aug 23, 2023
    Copy the full SHA
    6db3518 View commit details
    Browse the repository at this point in the history
  5. tests/tcg/s390x: Test VSTL

    Add a small test to prevent regressions.
    
    Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
    Message-Id: <20230804235624.263260-2-iii@linux.ibm.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    iii-i authored and huth committed Aug 23, 2023
    Copy the full SHA
    93af6e0 View commit details
    Browse the repository at this point in the history
  6. target/s390x: Use a 16-bit immediate in VREP

    Unlike most other instructions that contain an immediate element index,
    VREP's one is 16-bit, and not 4-bit. The code uses only 8 bits, so
    using, e.g., 0x101 does not lead to a specification exception.
    
    Fix by checking all 16 bits.
    
    Cc: qemu-stable@nongnu.org
    Fixes: 28d0873 ("s390x/tcg: Implement VECTOR REPLICATE")
    Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
    Message-Id: <20230807163459.849766-1-iii@linux.ibm.com>
    Reviewed-by: David Hildenbrand <david@redhat.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    iii-i authored and huth committed Aug 23, 2023
    Copy the full SHA
    23e87d4 View commit details
    Browse the repository at this point in the history
  7. tests/tcg/s390x: Test VREP

    Add a small test to prevent regressions.
    
    Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
    Message-Id: <20230807163459.849766-2-iii@linux.ibm.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    iii-i authored and huth committed Aug 23, 2023
    Copy the full SHA
    024d7ca View commit details
    Browse the repository at this point in the history
  8. hw/s390x/s390-virtio-ccw: Remove superfluous code to set the NIC model

    The check for nd->model being NULL was originally required, but in
    commit e11f463 ("s390x/virtio: use qemu_check_nic_model()")
    the corresponding code had been replaced by a call to the function
    qemu_check_nic_model() - and this in turn calls qemu_find_nic_model()
    which contains the same check for nd->model being NULL again. So we
    can remove this from the calling site now.
    
    Message-Id: <20230804073525.11857-1-thuth@redhat.com>
    Reviewed-by: Halil Pasic <pasic@linux.ibm.com>
    Reviewed-by: Cornelia Huck <cohuck@redhat.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    huth committed Aug 23, 2023
    Copy the full SHA
    ce59437 View commit details
    Browse the repository at this point in the history
  9. include/hw/virtio/virtio-gpu: Fix virtio-gpu with blob on big endian …

    …hosts
    
    Using "-device virtio-gpu,blob=true" currently does not work on big
    endian hosts (like s390x). The guest kernel prints an error message
    like:
    
     [drm:virtio_gpu_dequeue_ctrl_func [virtio_gpu]] *ERROR* response 0x1200 (command 0x10c)
    
    and the display stays black. When running QEMU with "-d guest_errors",
    it shows an error message like this:
    
     virtio_gpu_create_mapping_iov: nr_entries is too big (83886080 > 16384)
    
    which indicates that this value has not been properly byte-swapped.
    And indeed, the virtio_gpu_create_blob_bswap() function (that should
    swap the fields in the related structure) fails to swap some of the
    entries. After correctly swapping all missing values here, too, the
    virtio-gpu device is now also working with blob=true on s390x hosts.
    
    Fixes: e0933d9 ("virtio-gpu: Add virtio_gpu_resource_create_blob")
    Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=2230469
    Message-Id: <20230815122007.928049-1-thuth@redhat.com>
    Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    huth committed Aug 23, 2023
    Copy the full SHA
    d194362 View commit details
    Browse the repository at this point in the history
  10. linux-user/elfload: Enable vxe2 on s390x

    The vxe2 hwcap is not set for programs running in linux-user, but is
    set by a Linux kernel running in softmmu. Add it to the former.
    
    Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
    Message-Id: <20230804233748.218935-2-iii@linux.ibm.com>
    Reviewed-by: David Hildenbrand <david@redhat.com>
    Reviewed-by: Claudio Fontana <cfontana@suse.de>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    iii-i authored and huth committed Aug 23, 2023
    Copy the full SHA
    ffc8453 View commit details
    Browse the repository at this point in the history
  11. target/s390x: Fix the "ignored match" case in VSTRS

    Currently the emulation of VSTRS recognizes partial matches in presence
    of \0 in the haystack, which, according to PoP, is not correct:
    
        If the ZS flag is one and a zero byte was detected
        in the second operand, then there can not be a
        partial match ...
    
    Add a check for this. While at it, fold a number of explicitly handled
    special cases into the generic logic.
    
    Cc: qemu-stable@nongnu.org
    Reported-by: Claudio Fontana <cfontana@suse.de>
    Closes: https://lists.gnu.org/archive/html/qemu-devel/2023-08/msg00633.html
    Fixes: 1d706f3 ("target/s390x: vxeh2: vector string search")
    Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
    Message-Id: <20230804233748.218935-3-iii@linux.ibm.com>
    Tested-by: Claudio Fontana <cfontana@suse.de>
    Acked-by: David Hildenbrand <david@redhat.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    iii-i authored and huth committed Aug 23, 2023
    Copy the full SHA
    791b2b6 View commit details
    Browse the repository at this point in the history
  12. tests/tcg/s390x: Test VSTRS

    Add a small test to prevent regressions.
    
    Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
    Message-Id: <20230804233748.218935-4-iii@linux.ibm.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    iii-i authored and huth committed Aug 23, 2023
    Copy the full SHA
    6c49f68 View commit details
    Browse the repository at this point in the history
  13. docs/about/license: Update LICENSE URL

    In early 2021 (see commit 2ad7843 "docs: update README to use
    GitLab repo URLs") almost all of the code base was converted to
    point to GitLab instead of git.qemu.org. During 2023, git.qemu.org
    switched from a git mirror to a http redirect to GitLab (see [1]).
    
    Update the LICENSE URL to match its previous content, displaying
    the file raw content similarly to gitweb 'blob_plain' format ([2]).
    
    [1] https://lore.kernel.org/qemu-devel/CABgObfZu3mFc8tM20K-yXdt7F-7eV-uKZN4sKDarSeu7DYoRbA@mail.gmail.com/
    [2] https://git-scm.com/docs/gitweb#Documentation/gitweb.txt-blobplain
    
    Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
    Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Reviewed-by: Thomas Huth <thuth@redhat.com>
    Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Message-ID: <20230822125716.55295-1-philmd@linaro.org>
    philmd authored and Stefan Hajnoczi committed Aug 23, 2023
    Copy the full SHA
    09a3fff View commit details
    Browse the repository at this point in the history
  14. Merge tag 'pull-request-2023-08-23' of https://gitlab.com/thuth/qemu

    …into staging
    
    * Add compat machines for QEMU 8.2
    * Convert some DPRINTFs in s390x code into trace events
    * Fix VFMIN/VFMAX, VSTL, VREP and VSTRS s390x instructions
    * Fix virtio-gpu on big endian (i.e. s390x) hosts
    
    # -----BEGIN PGP SIGNATURE-----
    #
    # iQJFBAABCAAvFiEEJ7iIR+7gJQEY8+q5LtnXdP5wLbUFAmTl8McRHHRodXRoQHJl
    # ZGhhdC5jb20ACgkQLtnXdP5wLbVXTQ/+OLnw+5+rCA/WbVWfWwEragtmSZuo5302
    # ByARdgv8BdD7AobUdSLkWbz9fgU7TAGPnv4aRXBs1K1HE77e63sg6ZfmGUJQllx8
    # T/86LPB0dPHZHPt39t3zv/ZTfj+yoXF+7+MIzhSbgV9sumKRqIW/w/BsTI3Rkkwd
    # yp1mpkNvYzCkO66nZWYDgKYLTvSmSJx+GUC6dgWswwXSmGP9UU+jutX62lDQS4k4
    # l3VjHHhl5V9LENQAvHQ1x48tMIjR4vra8T4fhYLAr1nVsHhsBONRX9qxUHhpy0c3
    # zrWA95kO0CPoJLqMNdY9CSyBRgrH/BCmM6Z5+GvBI0RWo+bdgYzF5QpNW6Sbfb/L
    # NfE7PK0EYRFk8Q1LK+pYQ0wCjw/a5tOj3NtwZQUUMqqiNL6zmaQpOXujw3PTtIDN
    # 6qS9aiAVlL+taIsk9av1So5Mgrr97BsptPKhe22BCYxv832Vj8mPOhjkbiTs8OYD
    # PCr+sfJvpwcDBdDhQ1xi4M5tkxg26CPtntVDJdl/pXM3dmpxQ/D8ciok+f2/EeWU
    # VeiJ4/tbelm3u0zfGqYfRGSxvPYZM9aJJCLloXuffeT+UEJXUVze6MgMbSuf4vji
    # f+hWxA38WUAaoZjoBguMgwLOp/hvBtbHF+Hdk+iT0yE5uc3Ajo619YRVAspJbNi4
    # qSYIMAJoGqM=
    # =cIfC
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Wed 23 Aug 2023 07:43:03 EDT
    # 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-2023-08-23' of https://gitlab.com/thuth/qemu:
      tests/tcg/s390x: Test VSTRS
      target/s390x: Fix the "ignored match" case in VSTRS
      linux-user/elfload: Enable vxe2 on s390x
      include/hw/virtio/virtio-gpu: Fix virtio-gpu with blob on big endian hosts
      hw/s390x/s390-virtio-ccw: Remove superfluous code to set the NIC model
      tests/tcg/s390x: Test VREP
      target/s390x: Use a 16-bit immediate in VREP
      tests/tcg/s390x: Test VSTL
      target/s390x: Fix VSTL with a large length
      target/s390x: Check reserved bits of VFMIN/VFMAX's M5
      s390x: Convert DPRINTF to trace events
      hw: Add compat machines for 8.2
    
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Stefan Hajnoczi committed Aug 23, 2023
    Copy the full SHA
    92e1d39 View commit details
    Browse the repository at this point in the history