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: 9c74490bff6c
Choose a base ref
...
head repository: qemu/qemu
compare: 039afc5ef736
Choose a head ref
  • 9 commits
  • 11 files changed
  • 5 contributors

Commits on Dec 12, 2023

  1. meson, xen: fix condition for enabling the Xen accelerator

    A misspelled condition in xen_native.h is hiding a bug in the enablement of
    Xen for qemu-system-aarch64.  The bug becomes apparent when building for
    Xen 4.18.
    
    While the i386 emulator provides the xenpv machine type for multiple architectures,
    and therefore can be compiled with Xen enabled even when the host is Arm, the
    opposite is not true: qemu-system-aarch64 can only be compiled with Xen support
    enabled when the host is Arm.
    
    Expand the computation of accelerator_targets['CONFIG_XEN'] similar to what is
    already there for KVM.
    
    Cc: Stefano Stabellini <stefano.stabellini@amd.com>
    Cc: Richard W.M. Jones <rjones@redhat.com>
    Cc: Daniel P. Berrangé <berrange@redhat.com>
    Reported-by: Michael Young <m.a.young@durham.ac.uk>
    Fixes: 0c8ab1c ("xen_arm: Create virtio-mmio devices during initialization", 2023-08-30)
    Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 12, 2023
    Copy the full SHA
    16b6273 View commit details
    Browse the repository at this point in the history
  2. xen: fix condition for skipping virtio-mmio defines

    GUEST_VIRTIO_MMIO_* was added in Xen 4.17, so only define them
    for CONFIG_XEN_CTRL_INTERFACE_VERSIONs up to 4.16.
    
    Reported-by: Daniel P. Berrangé <berrange@redhat.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Dec 12, 2023
    Copy the full SHA
    4efb13f View commit details
    Browse the repository at this point in the history
  3. Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging

    Fix for building with Xen 4.18
    
    # -----BEGIN PGP SIGNATURE-----
    #
    # iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmV4M4AUHHBib256aW5p
    # QHJlZGhhdC5jb20ACgkQv/vSX3jHroOPgwgAhRYBI8Q7FO4LWZTi+ubYXfS1ZEVC
    # uy5eiyQNlymmAFFqutXLokvN1qsGhRlSeX5/uo5Tn6vWjkXPLlGikrecWHFSPmLS
    # 0s+4NOOfrM6gMm5CCqMzjQuogr4+xxiw/g+rxhWGhNqlL1jVG1+I6AU5EobMNlDA
    # gqd33OL509xkLVN6pCcmFwBInDHQl63YwOwVIR3cd2cfUW28M8DzGd9KULWJkZva
    # I51COEwo0EpLNC2ile7pnA8+8F79WBMgUdrhBzl/a8RHv7AvxAPQB/0TsZQknFo0
    # PS3Y+yXdn2CT3KInu+QeW3kHkVoAdK06/cSOqIbEKuKgnZjEz0qFHq4K3A==
    # =SKW6
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Tue 12 Dec 2023 05:18:40 EST
    # gpg:                using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
    # gpg:                issuer "pbonzini@redhat.com"
    # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [full]
    # gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>" [full]
    # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
    #      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83
    
    * tag 'for-upstream' of https://gitlab.com/bonzini/qemu:
      xen: fix condition for skipping virtio-mmio defines
      meson, xen: fix condition for enabling the Xen accelerator
    
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Stefan Hajnoczi committed Dec 12, 2023
    Copy the full SHA
    eaae59a View commit details
    Browse the repository at this point in the history
  4. block: Fix AioContext locking in qmp_block_resize()

    The AioContext must be unlocked before calling blk_co_unref(), because
    it takes the AioContext lock internally in blk_unref_bh(), which is
    scheduled in the main thread. If we don't unlock, the AioContext is
    locked twice and nested event loops such as in bdrv_graph_wrlock() will
    deadlock.
    
    Cc:  <qemu-stable@nongnu.org>
    Fixes: https://issues.redhat.com/browse/RHEL-15965
    Fixes: 0c7d204
    Signed-off-by: Kevin Wolf <kwolf@redhat.com>
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Message-ID: <20231208124352.30295-1-kwolf@redhat.com>
    Kevin Wolf authored and Stefan Hajnoczi committed Dec 12, 2023
    Copy the full SHA
    755ae38 View commit details
    Browse the repository at this point in the history
  5. docs: clean-up the xenpvh documentation

    I noticed the code blocks where not rendering properly so thought I'd
    better fix things up. So:
    
      - Use better title for the machine type
      - Explain why Xen is a little different
      - Add a proper anchor to the tpm-device link
      - add newline so code block properly renders
      - add some indentation to make continuation clearer
    
    Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Message-ID: <20231207130623.360473-1-alex.bennee@linaro.org>
    stsquad authored and Stefan Hajnoczi committed Dec 12, 2023
    Copy the full SHA
    06ecb6a View commit details
    Browse the repository at this point in the history
  6. target/i386: Fix 32-bit wrapping of pc/eip computation

    In 32-bit mode, pc = eip + cs_base is also 32-bit, and must wrap.
    Failure to do so results in incorrect memory exceptions to the guest.
    Before 732d548, this was implicitly done via truncation to
    target_ulong but only in qemu-system-i386, not qemu-system-x86_64.
    
    To fix this, we must add conditional zero-extensions.
    Since we have to test for 32 vs 64-bit anyway, note that cs_base
    is always zero in 64-bit mode.
    
    Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2022
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
    Message-Id: <20231212172510.103305-1-richard.henderson@linaro.org>
    rth7680 committed Dec 12, 2023
    Copy the full SHA
    b5e0d5d View commit details
    Browse the repository at this point in the history
  7. tcg: Reduce serial context atomicity earlier

    Reduce atomicity while emitting opcodes, instead of later
    during code generation.  This ensures that any helper called
    also sees the reduced atomicity requirement.
    
    Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2034
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    Tested-by: Alex Bennée <alex.bennee@linaro.org>
    Message-Id: <20231212193542.149117-1-richard.henderson@linaro.org>
    rth7680 committed Dec 12, 2023
    Copy the full SHA
    cbb1455 View commit details
    Browse the repository at this point in the history
  8. Merge tag 'pull-tcg-20231212' of https://gitlab.com/rth7680/qemu into…

    … staging
    
    target/i386: Fix 32-bit wrapping of pc/eip computation (#2022)
    tcg: Reduce serial context atomicity earlier (#2034)
    
    # -----BEGIN PGP SIGNATURE-----
    #
    # iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmV41IEdHHJpY2hhcmQu
    # aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV+0DwgApqX4Ntaz1/eIbEmr
    # sWTGlG7sQX28JrYm+Bd4MgtlE2+i06Vs3q1ZHThuZs9S6tQf8bcm1q1m0qZ486jk
    # hgQqSMPAOJv1U+QhTRy1kW3l8UmZkw9YddfV5FjBHeuRWglVeSxDtqkc4fUffthb
    # 82KvYIqo836HsYOOWtJqSuWVi60+q1RqYg+WZuygUmprf8Y+72Zu7ojjrizHoUNQ
    # wTjGR8Jsf22ZrFi+B0MXL78oumMLTnjxCv1426+P+0zVclJAJZxS/7K+VhD4cG1q
    # FG2zAphly+vuB248XSyzYxM8vgCVNAkLoUb2AAw1pdQpUzNaAEoTcAXIR7PJDord
    # wZnmvw==
    # =Fsyn
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Tue 12 Dec 2023 16:45:37 EST
    # gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
    # gpg:                issuer "richard.henderson@linaro.org"
    # gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" [full]
    # Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F
    
    * tag 'pull-tcg-20231212' of https://gitlab.com/rth7680/qemu:
      tcg: Reduce serial context atomicity earlier
      target/i386: Fix 32-bit wrapping of pc/eip computation
    
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Stefan Hajnoczi committed Dec 12, 2023
    Copy the full SHA
    4fd8a95 View commit details
    Browse the repository at this point in the history
  9. Update version for v8.2.0-rc4 release

    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Stefan Hajnoczi committed Dec 12, 2023
    Copy the full SHA
    039afc5 View commit details
    Browse the repository at this point in the history