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: 885fc169f09f
Choose a base ref
...
head repository: qemu/qemu
compare: 3ee44ec72753
Choose a head ref
  • 20 commits
  • 24 files changed
  • 5 contributors

Commits on Jul 10, 2023

  1. qapi: better docs for calc-dirty-rate and friends

    Rewrote calc-dirty-rate documentation. Briefly described
    different modes of dirty page rate measurement. Added some
    examples. Fixed obvious grammar errors.
    
    Signed-off-by: Andrei Gudkov <gudkov.andrei@huawei.com>
    Message-Id: <fe7d32a621ebd69ef6974beb2499c0b5dccb9e19.1684854849.git.gudkov.andrei@huawei.com>
    Acked-by: Markus Armbruster <armbru@redhat.com>
    Acked-by: Peter Xu <peterx@redhat.com>
    [Prose tweaked and spacing corrected, as per review]
    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    Andrei Gudkov authored and Markus Armbruster committed Jul 10, 2023
    Copy the full SHA
    5034e3d View commit details
    Browse the repository at this point in the history
  2. migration.json: Don't use space before colon

    So all the file is consistent.
    
    Signed-off-by: Juan Quintela <quintela@redhat.com>
    Message-Id: <20230612191604.2219-1-quintela@redhat.com>
    Reviewed-by: Markus Armbruster <armbru@redhat.com>
    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    Juan Quintela authored and Markus Armbruster committed Jul 10, 2023
    Copy the full SHA
    fd658a7 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2023

  1. target/s390x: Make CKSM raise an exception if R2 is odd

    R2 designates an even-odd register pair; the instruction should raise
    a specification exception when R2 is not even.
    
    Cc: qemu-stable@nongnu.org
    Fixes: e023e83 ("s390x: translate engine for s390x CPU")
    Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
    Message-Id: <20230724082032.66864-2-iii@linux.ibm.com>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Reviewed-by: David Hildenbrand <david@redhat.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    iii-i authored and huth committed Jul 24, 2023
    Copy the full SHA
    761b0aa View commit details
    Browse the repository at this point in the history
  2. target/s390x: Fix CLM with M3=0

    When the mask is zero, access exceptions should still be recognized for
    1 byte at the second-operand address. CC should be set to 0.
    
    Cc: qemu-stable@nongnu.org
    Fixes: defb0e3 ("s390x: Implement opcode helpers")
    Reviewed-by: David Hildenbrand <david@redhat.com>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
    Message-Id: <20230724082032.66864-3-iii@linux.ibm.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    iii-i authored and huth committed Jul 24, 2023
    Copy the full SHA
    4b6e4c0 View commit details
    Browse the repository at this point in the history
  3. target/s390x: Fix CONVERT TO LOGICAL/FIXED with out-of-range inputs

    CONVERT TO LOGICAL/FIXED deviate from IEEE 754 in that they raise an
    inexact exception on out-of-range inputs. float_flag_invalid_cvti
    aligns nicely with that behavior, so convert it to
    S390_IEEE_MASK_INEXACT.
    
    Cc: qemu-stable@nongnu.org
    Fixes: defb0e3 ("s390x: Implement opcode helpers")
    Reviewed-by: David Hildenbrand <david@redhat.com>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
    Message-Id: <20230724082032.66864-4-iii@linux.ibm.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    iii-i authored and huth committed Jul 24, 2023
    Copy the full SHA
    53684e3 View commit details
    Browse the repository at this point in the history
  4. target/s390x: Fix ICM with M3=0

    When the mask is zero, access exceptions should still be recognized for
    1 byte at the second-operand address. CC should be set to 0.
    
    Cc: qemu-stable@nongnu.org
    Fixes: e023e83 ("s390x: translate engine for s390x CPU")
    Reviewed-by: David Hildenbrand <david@redhat.com>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
    Message-Id: <20230724082032.66864-5-iii@linux.ibm.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    iii-i authored and huth committed Jul 24, 2023
    Copy the full SHA
    a202555 View commit details
    Browse the repository at this point in the history
  5. target/s390x: Make MC raise specification exception when class >= 16

    MC requires bit positions 8-11 (upper 4 bits of class) to be zeros,
    otherwise it must raise a specification exception.
    
    Cc: qemu-stable@nongnu.org
    Fixes: 20d143e ("s390x/tcg: Implement MONITOR CALL")
    Reviewed-by: David Hildenbrand <david@redhat.com>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
    Message-Id: <20230724082032.66864-6-iii@linux.ibm.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    iii-i authored and huth committed Jul 24, 2023
    Copy the full SHA
    9c028c0 View commit details
    Browse the repository at this point in the history
  6. target/s390x: Fix assertion failure in VFMIN/VFMAX with type 13

    Type 13 is reserved, so using it should result in specification
    exception. Due to an off-by-1 error the code triggers an assertion at a
    later point in time instead.
    
    Cc: qemu-stable@nongnu.org
    Fixes: da48075 ("s390x/tcg: Implement VECTOR FP (MAXIMUM|MINIMUM)")
    Reviewed-by: David Hildenbrand <david@redhat.com>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
    Message-Id: <20230724082032.66864-8-iii@linux.ibm.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    iii-i authored and huth committed Jul 24, 2023
    Copy the full SHA
    ff537b0 View commit details
    Browse the repository at this point in the history
  7. tests/tcg/s390x: Test CKSM

    Add a small test to prevent regressions.
    
    Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
    Message-Id: <20230724082032.66864-9-iii@linux.ibm.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    iii-i authored and huth committed Jul 24, 2023
    Copy the full SHA
    f6044c9 View commit details
    Browse the repository at this point in the history
  8. tests/tcg/s390x: Test CLGEBR and CGEBRA

    Add a small test to prevent regressions.
    
    Tested-by: Thomas Huth <thuth@redhat.com>
    Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
    Message-Id: <20230724082032.66864-10-iii@linux.ibm.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    iii-i authored and huth committed Jul 24, 2023
    Copy the full SHA
    372886d View commit details
    Browse the repository at this point in the history
  9. tests/tcg/s390x: Test CLM

    Add a small test to prevent regressions.
    
    Tested-by: Thomas Huth <thuth@redhat.com>
    Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
    Message-Id: <20230724082032.66864-11-iii@linux.ibm.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    iii-i authored and huth committed Jul 24, 2023
    Copy the full SHA
    285a672 View commit details
    Browse the repository at this point in the history
  10. tests/tcg/s390x: Test ICM

    Add a small test to prevent regressions.
    
    Tested-by: Thomas Huth <thuth@redhat.com>
    Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
    Message-Id: <20230724082032.66864-12-iii@linux.ibm.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    iii-i authored and huth committed Jul 24, 2023
    Copy the full SHA
    f383b2f View commit details
    Browse the repository at this point in the history
  11. tests/tcg/s390x: Test MC

    Add a small test to prevent regressions.
    
    Tested-by: Thomas Huth <thuth@redhat.com>
    Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
    Message-Id: <20230724082032.66864-13-iii@linux.ibm.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    iii-i authored and huth committed Jul 24, 2023
    Copy the full SHA
    eacfe7c View commit details
    Browse the repository at this point in the history
  12. tests/tcg/s390x: Test STPQ

    Add a small test to prevent regressions.
    
    Tested-by: Thomas Huth <thuth@redhat.com>
    Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
    Message-Id: <20230724082032.66864-14-iii@linux.ibm.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    iii-i authored and huth committed Jul 24, 2023
    Copy the full SHA
    e11e2fc View commit details
    Browse the repository at this point in the history
  13. tests/tcg/s390x: Test VCKSM

    Add a small test to prevent regressions.
    
    Tested-by: Thomas Huth <thuth@redhat.com>
    Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
    Message-Id: <20230724082032.66864-15-iii@linux.ibm.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    iii-i authored and huth committed Jul 24, 2023
    Copy the full SHA
    241ab36 View commit details
    Browse the repository at this point in the history
  14. tests/avocado/migration: Remove the malfunctioning s390x tests

    The tests from tests/avocado/migration.py do not work at all
    on s390x - the bios shuts down immediately when it cannot find
    a boot disk, so there is nothing left to migrate here. For doing
    a proper migration test, we would need a proper payload, but we
    already do such tests in the migration *qtest*, so it is unnecessary
    to redo such a test here, thus let's simply remove this test.
    
    Message-Id: <20230721164346.10112-1-thuth@redhat.com>
    Reviewed-by: Juan Quintela <quintela@redhat.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    huth committed Jul 24, 2023
    Copy the full SHA
    71a00a5 View commit details
    Browse the repository at this point in the history
  15. target/loongarch: Fix the CSRRD CPUID instruction on big endian hosts

    The test in tests/avocado/machine_loongarch.py is currently failing
    on big endian hosts like s390x. By comparing the traces between running
    the QEMU_EFI.fd bios on a s390x and on a x86 host, it's quickly obvious
    that the CSRRD instruction for the CPUID is behaving differently. And
    indeed: The code currently does a long read (i.e. 64 bit) from the
    address that points to the CPUState->cpu_index field (with tcg_gen_ld_tl()
    in the trans_csrrd() function). But this cpu_index field is only an "int"
    (i.e. 32 bit). While this dirty pointer magic works on little endian hosts,
    it of course fails on big endian hosts. Fix it by using a proper helper
    function instead.
    
    Message-Id: <20230720175307.854460-1-thuth@redhat.com>
    Reviewed-by: Song Gao <gaosong@loongson.cn>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    huth committed Jul 24, 2023
    Copy the full SHA
    c34ad45 View commit details
    Browse the repository at this point in the history
  16. tests/avocado/machine_s390_ccw_virtio: Skip the flaky virtio-gpu test…

    … by default
    
    The virtio-gpu test is known to be flaky - that's why we also did
    not enable the test_s390x_fedora in the gitlab CI. However, a flaky
    test can also be annoying when testing locally, so let's rather skip
    this subtest by default and start running the test_s390x_fedora test
    in the gitlab CI again (since the other things that are tested here
    are quite valuable).
    
    Message-Id: <20230724084851.24251-1-thuth@redhat.com>
    Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Reviewed-by: Cédric Le Goater <clg@redhat.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    huth committed Jul 24, 2023
    Copy the full SHA
    bd39b7b View commit details
    Browse the repository at this point in the history
  17. Merge tag 'pull-qapi-2023-07-10' of https://repo.or.cz/qemu/armbru in…

    …to staging
    
    QAPI patches patches for 2023-07-10
    
    # -----BEGIN PGP SIGNATURE-----
    #
    # iQJGBAABCAAwFiEENUvIs9frKmtoZ05fOHC0AOuRhlMFAmSr6HsSHGFybWJydUBy
    # ZWRoYXQuY29tAAoJEDhwtADrkYZTgnUP/1XvFPJ8NUWBjqe4DgYqkjx7rf5Zym+y
    # rluYzLNARWrOZuexvcn6tEiv74MilhSsZHuLvPQaQRF7voLPgD7fbRUBuYWPgodU
    # 36+i3Hk76hAdhx0UMY62wHEviv0sWBr/ZiZjPcwrSS5tSEY23iUMY4ZVf/mIfPHH
    # XYtF0co95SWKvqp9FSnejoYiNBCWKqZpHyDnJoXcd8RynqDt+cmNaZcU+Id+/WTv
    # fLiLGQgHNyKBIYWlljxiDXGMlybnbV88N0dkLZtJ0Z1aJhh6j5grxTp0BRd85nsw
    # QQjGO1qot6adQy04xi1RiMp4VZDJH18/9gBhDRLddVul0q49J1CT9LmKv/lYbpPj
    # 6duZwrO5ciEUQ2usc8/L8ZtM7xIbAXRGqyg69IpmfwVE906LFrHt6N23WJl14a7F
    # UBwD2+uGQNFyjxhFtPZZIYzYIH/49eGA/i6nhSIsd+LCD2r4n3M7FukgF8phuI9t
    # xEX++sW4ix8cStqtsRAtFJ7OCFFKK2al1zpPzgHyZQ4mwMZimRKh6blcD+AnOZms
    # uhiqONr2VlS9kefLAn5oCyTRUzxjJplnsqK44o8bKTfXxGcWBX2mt2nYMZECSLrQ
    # B1HWzr8y4uc8ivYzIErhWMWtIwISa9KQSsuurZXz83vEWnrtVq6hh9B8z6j24hk9
    # RJRSRZjHHjt7
    # =3XVF
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Mon 10 Jul 2023 12:16:11 BST
    # gpg:                using RSA key 354BC8B3D7EB2A6B68674E5F3870B400EB918653
    # gpg:                issuer "armbru@redhat.com"
    # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>" [full]
    # gpg:                 aka "Markus Armbruster <armbru@pond.sub.org>" [full]
    # Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867  4E5F 3870 B400 EB91 8653
    
    * tag 'pull-qapi-2023-07-10' of https://repo.or.cz/qemu/armbru:
      migration.json: Don't use space before colon
      qapi: better docs for calc-dirty-rate and friends
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    pm215 committed Jul 24, 2023
    Copy the full SHA
    7d1d6a0 View commit details
    Browse the repository at this point in the history
  18. Merge tag 'pull-request-2023-07-24' of https://gitlab.com/thuth/qemu

    …into staging
    
    * Fix emulation of s390x instructions: CKSM, CLM, ICM, MC, CLGEBR(A)
    * Remove useless and non-working s390x migration avocado tests
    * Fix loongarch CSRRD CPUID instruction when running on s390x hosts
    * Disable flaky s390x virtio-gpu test by default
    
    # -----BEGIN PGP SIGNATURE-----
    #
    # iQJFBAABCAAvFiEEJ7iIR+7gJQEY8+q5LtnXdP5wLbUFAmS+q4IRHHRodXRoQHJl
    # ZGhhdC5jb20ACgkQLtnXdP5wLbXB9xAAhF6bV23f1C9SHTWpxoN8oDYqJ3ZRR/D2
    # z/4RHzXC5icw4jWPXG/zf19a+TT5UA03HFqvXbFlEtLVLF1/RY2wDnQbHJd2msRX
    # YwvqE9SVoxbS3Jy+FS6XQ69WmPNoz01x+BIG5ig/jzXdOPZmylfik+1eAmHNHvcF
    # GNCvdFwDzAZnB7N7y973BRnYn73CXBk3ap3UnnX/PaFD9k7DowTW5HB4ej/Uydwl
    # z71/NbZhjgKYNpWgPYCI0Mypmz8b870o0VJxEJO9/1pWYLOoUcy/BKdOeGr3vqqO
    # cduRL2c78Xd2RaUt4TgYmsZKkLazcG37XnQ5iaewDctTjfjuL5Oss16SO0WTut3p
    # 8DtJHZCwD+0GcnbdFxyy7qdFmW2jgqsJtIPtnZs29ruEXnl0iyovjw38/J4kgBrF
    # eHY+X2AyvlXI6zNkRMjKp+ltAkVx1vXbedM/bfaEcSBiKAI/OlV0Y1slX7+K14pR
    # ITGOmBEG+yytMDnanzZKdN1DlBJMbGFYg9MctL7/yEwtD9vTl7gc66JhqcndkmCg
    # VXSvqN8ECXPRbeNyZQZP+weXQydpkk3ndVIlSUrWpWsJtj0GDQOt+iK/KWcQ+AkS
    # TXXp2OKM/mC+z6pdODsn/EoLl0toeDjpZFu27t/AvglNkmDFneY72LrtSwKgYHsi
    # OJpjY1zCoxM=
    # =Q+jQ
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Mon 24 Jul 2023 17:49:06 BST
    # 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-07-24' of https://gitlab.com/thuth/qemu:
      tests/avocado/machine_s390_ccw_virtio: Skip the flaky virtio-gpu test by default
      target/loongarch: Fix the CSRRD CPUID instruction on big endian hosts
      tests/avocado/migration: Remove the malfunctioning s390x tests
      tests/tcg/s390x: Test VCKSM
      tests/tcg/s390x: Test STPQ
      tests/tcg/s390x: Test MC
      tests/tcg/s390x: Test ICM
      tests/tcg/s390x: Test CLM
      tests/tcg/s390x: Test CLGEBR and CGEBRA
      tests/tcg/s390x: Test CKSM
      target/s390x: Fix assertion failure in VFMIN/VFMAX with type 13
      target/s390x: Make MC raise specification exception when class >= 16
      target/s390x: Fix ICM with M3=0
      target/s390x: Fix CONVERT TO LOGICAL/FIXED with out-of-range inputs
      target/s390x: Fix CLM with M3=0
      target/s390x: Make CKSM raise an exception if R2 is odd
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    pm215 committed Jul 24, 2023
    Copy the full SHA
    3ee44ec View commit details
    Browse the repository at this point in the history