Skip to content
Snippets Groups Projects
  1. Nov 30, 2022
  2. Nov 29, 2022
    • Stefan Hajnoczi's avatar
      Merge tag 'seabios-1.16.1-20221128-pull-request' of https://gitlab.com/kraxel/qemu into staging · ecbb6bd8
      Stefan Hajnoczi authored
      [for-7.2] update seabios to bugfix release 1.16.1
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQIzBAABCgAdFiEEoDKM/7k6F6eZAf59TLbY7tPocTgFAmOEiL4ACgkQTLbY7tPo
      # cThzkg//Rf5haFm6D156LOn7T0jcYLtDPSGrEKyZebPGKdwRLn/Jwal8beU6DL6r
      # hsWCuX7wlSMeaGLYU1YepeAFBAnhwzdGgVt2knQdmR1QNfxn0lnnE5iNkJqyqafM
      # aMAD+UTt/DBptBh3AcFxMWwy65EKpKb0TsA8PSsudlXLHwWvUmYPSSr/jwu6C9Ei
      # B2MUBQH6Pi8InXi2VX1jpQKdnryuP/zBQaVFWYiOEXF1t02dMfR2Z3dSLeuCQvcd
      # qaljTXux3p1z0IBgHmvPFfJnc/6F+CngC+teXZkH9dio1m9kB9YMzf4HXtP/qNno
      # PDz9M0f2XfSpLscrJFlhHSu4X8ZgpUsHlODsOhS1YcfBVZmE+PeAZ3UFMg11aE4Q
      # hru1ulukSPYbeGWGe68ExgEtlH5OeLP0Won1ayXt+iCkPkWgBXmOpcI06fb5qels
      # iJBAERcQGF3hMl246uY3b8WhApPVysiMudjERzpWjjZ5WY+nc67YKbxk+HYqzvpU
      # LgH5nQyBizolz8cA/IyL8zPVYpAU8fsGnXbtFJJ3RfXi+CXnMOoPnLe+HRFCgHfQ
      # 3DkTT3iwvTP4THNXALbUA673PtsAJPLmXokxmKEwEbfX3AJ/ybWxWCoJ2izGLhJR
      # Wsa7/Z2y8Lj/QusfZ4TQYhia+nbpAbvn9x5n3JSf3Cea6jkWQlk=
      # =P2Xy
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Mon 28 Nov 2022 05:09:02 EST
      # 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 'seabios-1.16.1-20221128-pull-request' of https://gitlab.com/kraxel/qemu
      
      :
        update seabios binaries to 1.16.1
        update seabios source from 1.16.0 to 1.16.1
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      ecbb6bd8
    • Richard Henderson's avatar
      replay: Fix declaration of replay_read_next_clock · fb72e779
      Richard Henderson authored
      
      Fixes the build with gcc 13:
      
      replay/replay-time.c:34:6: error: conflicting types for  \
        'replay_read_next_clock' due to enum/integer mismatch; \
        have 'void(ReplayClockKind)' [-Werror=enum-int-mismatch]
         34 | void replay_read_next_clock(ReplayClockKind kind)
            |      ^~~~~~~~~~~~~~~~~~~~~~
      In file included from ../qemu/replay/replay-time.c:14:
      replay/replay-internal.h:139:6: note: previous declaration of \
        'replay_read_next_clock' with type 'void(unsigned int)'
        139 | void replay_read_next_clock(unsigned int kind);
            |      ^~~~~~~~~~~~~~~~~~~~~~
      
      Fixes: 8eda206e ("replay: recording and replaying clock ticks")
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Reviewed-by: default avatarWilfred Mallawa <wilfred.mallawa@wdc.com>
      Reviewed-by: default avatarPavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      Message-Id: <20221129010547.284051-1-richard.henderson@linaro.org>
      fb72e779
  3. Nov 28, 2022
    • Gerd Hoffmann's avatar
      update seabios binaries to 1.16.1 · a704cb59
      Gerd Hoffmann authored
      
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      a704cb59
    • Gerd Hoffmann's avatar
      update seabios source from 1.16.0 to 1.16.1 · ab1b2ba9
      Gerd Hoffmann authored
      
      git shortlog rel-1.16.0..rel-1.16.1
      ===================================
      
      Gerd Hoffmann (3):
            malloc: use variable for ZoneHigh size
            malloc: use large ZoneHigh when there is enough memory
            virtio-blk: use larger default request size
      
      Igor Mammedov (1):
            acpi: parse Alias object
      
      Volker Rümelin (2):
            pci: refactor the pci_config_*() functions
            reset: force standard PCI configuration access
      
      Xiaofei Lee (1):
            virtio-blk: Fix incorrect type conversion in virtio_blk_op()
      
      Xuan Zhuo (2):
            virtio-mmio: read/write the hi 32 features for mmio
            virtio: finalize features before using device
      
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      ab1b2ba9
  4. Nov 27, 2022
  5. Nov 25, 2022
  6. Nov 23, 2022
    • Stefan Hajnoczi's avatar
      Merge tag 'fixes-20221123-pull-request' of https://gitlab.com/kraxel/qemu into staging · a33c2539
      Stefan Hajnoczi authored
      ui+usb+audio: bugfixes for 7.2
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQIzBAABCgAdFiEEoDKM/7k6F6eZAf59TLbY7tPocTgFAmN+MaYACgkQTLbY7tPo
      # cTiJ7A//dN/US7zHSHcgAscyjSClZRU4gHyJcnN0BoNtrOXW9lIGEnMzQBfOn2nb
      # 5vaL2u2+Ooz/92pEi6P2qKUxHo63P7RfXXEOhPdi+kENK3UYOzlyJmlUUUrXyu78
      # W8BM/styxb1s84KmPauRFGmgCoXCZZ4IklZUaVLqLYwJUv6/BGlbxorEdeuCGev0
      # LgeyZTWaWcI5jOdIaL+Hl9PKzQCyKigT3HWA8lPvs31+hvdK5RvL5mai6SD+4Mtj
      # JaLGqZ3N7oSo7a/LT+f0jebwg/QUV9EGkJmnF6tlGg3IM34/Mqbl+BMJjGAh3xqx
      # z3qks/z2baHtz59CHGVS8sxWPC+5Wh3hgkpzOJ83fCUqueS7cMXBF6fcf0y0MJqP
      # ne6ePE/4ZWcHnoycpZqNRDqao+Lh62PSdteAjf2yq8ZLhhm9HgP4bl/4je8tbi/I
      # Z6WrP4yv8l7ea5jZUbtURbe0pYKAmzMr2rwv34jJbXAn+BU5vV1/5j7jyz2UlETK
      # G7fiLJEUutFhYaCWhgNCE8HTgYt9V0PEjGfIJXkKHRHLd/229VSjlvdQyP/vtSLt
      # EzaP1JdtGZ++QEzMBY8lzrozNHaJglGBjonG9fUnJ4VSB4+J8b3KqBEXlmWL16Fx
      # UvV8MtOuQ6Y377ErbQJYjui6BOArV6iI5NBlbvWuc+CgA09orYs=
      # =m/Hx
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Wed 23 Nov 2022 09:43:50 EST
      # 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-20221123-pull-request' of https://gitlab.com/kraxel/qemu
      
      :
        hw/audio/intel-hda: Drop unnecessary prototype
        hw/audio/intel-hda: don't reset codecs twice
        hw/usb/hcd-xhci: Reset the XHCIState with device_cold_reset()
        ui/gtk: prevent ui lock up when dpy_gl_update called again before current draw event occurs
        hw/usb/hcd-xhci.c: spelling: tranfer
        gtk: disable GTK Clipboard with a new meson option
        Revert "usbredir: avoid queuing hello packet on snapshot restore"
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      a33c2539
    • Stefan Hajnoczi's avatar
      Merge tag 'pull-request-2022-11-23' of https://gitlab.com/thuth/qemu into staging · e72db29a
      Stefan Hajnoczi authored
      * Shorten the amount of text from the qos-test to avoid hitting
        output size limits in the gitlab CI
      * Update URLs of avocado tests
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQJFBAABCAAvFiEEJ7iIR+7gJQEY8+q5LtnXdP5wLbUFAmN+F6sRHHRodXRoQHJl
      # ZGhhdC5jb20ACgkQLtnXdP5wLbWy8A/+PMpIwpSRnTgmvbfSBcyixdXGSXndu1ey
      # 0P3Q1p8XAY+5iU3EeOYqn6+4KRG5JhrJZu4UL77/TkPyJCYONH4BvmQhlIqKq44X
      # uoGPoNiwQkwQ0ww1nKqSi3DP7Pf4FGTMo4K7TYr9qTijWmRwDcNVVBqbNvWKmjh5
      # eH1eTm9PpudnYis5snovyki4JyY3TQOuBL/Mu7IfVbpUanvkqj/wYMzkwfgNZSIs
      # hFIgbM2+ASXPdZ9OI/FgTEULPtc67hdDT9Gzq9wbmKoo5TrhAcNnnOAwN9eDR5Cw
      # AmTpp73ykjZmjlI6aPW6L8TEsiTMNk2+n7jIn7p0DLrlCkoLLT6wTwPNUF7+9NM4
      # ykA3MDJ2QEnIT652TE4pZuCciDboN4zfEvD7/rgB8f09iZgSwtJJXB5aLq8zBkye
      # 5Tc+c/SdacTcVyKhqixSCnkVoH4XTmS+P0LuFtsbvWMRU+h451CUF1NiaK6zQq1I
      # vOcTCUIyfeFA6yBvPwiwN2swtGpI0Wm5GzH0DeZ86cL9pyTMFoUZcKQ5kFe956AL
      # BZ2/yUh6Qe/lno+qhxWzhWVLFY4n3DQbhmsA4V9LCkr93zx+AwRuSryzBrz6yXHx
      # eCW5/8zSaNDcYTiJCrMDpahrF/GYDou3XHp7jw+LUzKQh4II7Lj0zrgb9t+FF4Yn
      # StmgxYebxz4=
      # =mhqc
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Wed 23 Nov 2022 07:52:59 EST
      # 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-11-23' of https://gitlab.com/thuth/qemu
      
      :
        tests/avocado: use new rootfs for orangepi test
        tests/qtest: Decrease the amount of output from the qom-test
        tests/avocado: Update the URLs of the advent calendar images
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      e72db29a
    • Peter Maydell's avatar
      hw/audio/intel-hda: Drop unnecessary prototype · 7d3cf195
      Peter Maydell authored
      
      The only use of intel_hda_reset() is after its definition, so we
      don't need to separately declare its prototype at the top of the
      file; drop the unnecessary line.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Message-Id: <20221014142632.2092404-3-peter.maydell@linaro.org>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      7d3cf195
    • Peter Maydell's avatar
      hw/audio/intel-hda: don't reset codecs twice · 3e95ef49
      Peter Maydell authored
      
      Currently the intel-hda device has a reset method which manually
      resets all the codecs by calling device_legacy_reset() on them.  This
      means they get reset twice, once because child devices on a qbus get
      reset before the parent device's reset method is called, and then
      again because we're manually resetting them.
      
      Drop the manual reset call, and ensure that codecs are still reset
      when the guest does a reset via ICH6_GCTL_RESET by using
      device_cold_reset() (which resets all the devices on the qbus as well
      as the device itself) instead of a direct call to the reset function.
      
      This is a slight ordering change because the (only) codec reset now
      happens before the controller registers etc are reset, rather than
      once before and then once after, but the codec reset function
      hda_audio_reset() doesn't care.
      
      This lets us drop a use of device_legacy_reset(), which is
      deprecated.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Message-Id: <20221014142632.2092404-2-peter.maydell@linaro.org>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      3e95ef49
    • Peter Maydell's avatar
      hw/usb/hcd-xhci: Reset the XHCIState with device_cold_reset() · 1dfb7a17
      Peter Maydell authored
      
      Currently the hcd-xhci-pci and hcd-xhci-sysbus devices, which are
      mostly wrappers around the TYPE_XHCI device, which is a direct
      subclass of TYPE_DEVICE.  Since TYPE_DEVICE devices are not on any
      qbus and do not get automatically reset, the wrapper devices both
      reset the TYPE_XHCI device in their own reset functions.  However,
      they do this using device_legacy_reset(), which will reset the device
      itself but not any bus it has.
      
      Switch to device_cold_reset(), which avoids using a deprecated
      function and also propagates reset along any child buses.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Message-Id: <20221014145423.2102706-1-peter.maydell@linaro.org>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      1dfb7a17
    • Dongwon Kim's avatar
      ui/gtk: prevent ui lock up when dpy_gl_update called again before current draw event occurs · 64f1359b
      Dongwon Kim authored
      
      A warning, "qemu: warning: console: no gl-unblock within" followed by
      guest scanout lockup can happen if dpy_gl_update is called in a row
      and the second call is made before gd_draw_event scheduled by the first
      call is taking place. This is because draw call returns without decrementing
      gl_block ref count if the dmabuf was already submitted as shown below.
      
      (gd_gl_area_draw/gd_egl_draw)
      
              if (dmabuf) {
                  if (!dmabuf->draw_submitted) {
                      return;
                  } else {
                      dmabuf->draw_submitted = false;
                  }
              }
      
      So it should not schedule any redundant draw event in case draw_submitted is
      already set in gd_egl_fluch/gd_gl_area_scanout_flush.
      
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      Cc: Vivek Kasireddy <vivek.kasireddy@intel.com>
      Signed-off-by: default avatarDongwon Kim <dongwon.kim@intel.com>
      Reviewed-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-Id: <20221021192315.9110-1-dongwon.kim@intel.com>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      64f1359b
    • Michael Tokarev's avatar
      hw/usb/hcd-xhci.c: spelling: tranfer · d68640f5
      Michael Tokarev authored
      
      Fixes: effaf5a2
      Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Reviewed-by: default avatarStefan Weil <sw@weilnetz.de>
      Message-Id: <20221105114851.306206-1-mjt@msgid.tls.msk.ru>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      d68640f5
    • Claudio Fontana's avatar
      gtk: disable GTK Clipboard with a new meson option · 29e0bfff
      Claudio Fontana authored
      The GTK Clipboard implementation may cause guest hangs.
      
      Therefore implement new configure switch: --enable-gtk-clipboard,
      
      as a meson option disabled by default, which warns in the help
      text about the experimental nature of the feature.
      Regenerate the meson build options to include it.
      
      The initialization of the clipboard is gtk.c, as well as the
      compilation of gtk-clipboard.c are now conditional on this new
      option to be set.
      
      Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1150
      
      
      Signed-off-by: default avatarClaudio Fontana <cfontana@suse.de>
      Acked-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      Reviewed-by: default avatarJim Fehlig <jfehlig@suse.com>
      Message-Id: <20221121135538.14625-1-cfontana@suse.de>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      29e0bfff
    • Joelle van Dyne's avatar
      Revert "usbredir: avoid queuing hello packet on snapshot restore" · fb977a81
      Joelle van Dyne authored
      
      Run state is also in RUN_STATE_PRELAUNCH while "-S" is used.
      
      This reverts commit 0631d4b4
      
      Signed-off-by: default avatarJoelle van Dyne <j@getutm.app>
      Reviewed-by: default avatarJán Tomko <jtomko@redhat.com>
      
      The original commit broke the usage of usbredir with libvirt, which
      starts every domain with "-S".
      
      This workaround is no longer needed because the usbredir behavior
      has been fixed in the meantime:
      https://gitlab.freedesktop.org/spice/usbredir/-/merge_requests/61
      
      
      
      Signed-off-by: default avatarJán Tomko <jtomko@redhat.com>
      Message-Id: <1689cec3eadcea87255e390cb236033aca72e168.1669193161.git.jtomko@redhat.com>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      fb977a81
    • Alex Bennée's avatar
      tests/avocado: use new rootfs for orangepi test · 4189af72
      Alex Bennée authored
      
      The old URL wasn't stable. I suspect the current URL will only be
      stable for a few months so maybe we need another strategy for hosting
      rootfs snapshots?
      
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Message-Id: <20221118113309.1057790-1-alex.bennee@linaro.org>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      4189af72
    • Thomas Huth's avatar
      tests/qtest: Decrease the amount of output from the qom-test · 9f083d61
      Thomas Huth authored
      
      The logs in the gitlab-CI have a size constraint, and sometimes
      we already hit this limit. The biggest part of the log then seems
      to be filled by the qom-test, so we should decrease the size of
      the output - which can be done easily by not printing the path
      for each property, since the path has already been logged at the
      beginning of each node that we handle here.
      
      However, if we omit the path, we should make sure to not recurse
      into child nodes in between, so that it is clear to which node
      each property belongs. Thus store the children and links in a
      temporary list and recurse only at the end of each node, when
      all properties have already been printed.
      
      Message-Id: <20221121194240.149268-1-thuth@redhat.com>
      Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      9f083d61
    • Thomas Huth's avatar
      tests/avocado: Update the URLs of the advent calendar images · 72cf57b0
      Thomas Huth authored
      
      The qemu-advent-calendar.org server will be decommissioned soon.
      I've mirrored the images that we use for the QEMU CI to gitlab,
      so update their URLs to point to the new location.
      
      Message-Id: <20221121102436.78635-1-thuth@redhat.com>
      Tested-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      72cf57b0
    • Stefan Hajnoczi's avatar
  7. Nov 22, 2022
    • Stefan Hajnoczi's avatar
      Merge tag 'pull-target-arm-20221122' of... · 80e99f29
      Stefan Hajnoczi authored
      Merge tag 'pull-target-arm-20221122' of https://git.linaro.org/people/pmaydell/qemu-arm into staging
      
      target-arm:
       * Fix broken 5-level pagetable handling
       * Fix debug accesses when EL2 is present
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQJNBAABCAA3FiEE4aXFk81BneKOgxXPPCUl7RQ2DN4FAmN8+tgZHHBldGVyLm1h
      # eWRlbGxAbGluYXJvLm9yZwAKCRA8JSXtFDYM3t+mD/sGzXb5BjKl0JeREHAh6swI
      # niodZz0hf67UYITIQJMBu8KiFjAowk726qkwSOJyjQ7ot1N/zy6z3X8SbHLBF8qe
      # xHJwVIvDADRKQ4j9y9chVof0Bg8+6274kFwcl/FR/gTFxQex+jzNmk6RzV1D5n3D
      # gSKYVT1DJmr/qiWdoNxfuOPsbF44+ADskyeSLKmhN7SgK3JRDSfOTYb0AwIzm4Ue
      # CL3rfNBkAsF6j9ygWHH0uff7ztWLZiCY1l+zXtOzzwZbrxMdSK6TCHgliNJ/9F/i
      # D1vLr0A+J82ubADOHsTq5dE4tyYUkz/JQLCaoQWul7q08nz4i5XLFxBFUzll+H55
      # yHCIzgbt2DOVICW2bzJR9fqI11cyeXY+ftRHVcA17mBKKXLEMg2ziIQ2yw0cugdD
      # eaCcOLXgpLpMgCfFLDFOhZb9j0Q0TNEiKu9ZOVJrMDj5uT4HwctJ0PnPlHxaz6pC
      # d9CdT1+J/omN8HYvZmBF1t9y3Y1dVKO9cOEFwcT2nTOqfLXirlKH7BeP9rdH96xi
      # jSvixFrliUTjFGyW6AK8VoqXIx7rYK5OlWWdTnZhhERdjbVGkbPgc3O9ZYH9dJKO
      # lUGmXZAguMbruXjDjGijNOSY1Vf/aTfbjCoOi3NoDbDQqAh8UjXUvUWbdjKo9uF+
      # CtY6fnorIekqT2mYWNfkfQ==
      # =Oh+/
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Tue 22 Nov 2022 11:37:44 EST
      # gpg:                using RSA key E1A5C593CD419DE28E8315CF3C2525ED14360CDE
      # gpg:                issuer "peter.maydell@linaro.org"
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>" [full]
      # gpg:                 aka "Peter Maydell <pmaydell@gmail.com>" [full]
      # gpg:                 aka "Peter Maydell <pmaydell@chiark.greenend.org.uk>" [full]
      # gpg:                 aka "Peter Maydell <peter@archaic.org.uk>" [unknown]
      # Primary key fingerprint: E1A5 C593 CD41 9DE2 8E83  15CF 3C25 25ED 1436 0CDE
      
      * tag 'pull-target-arm-20221122' of https://git.linaro.org/people/pmaydell/qemu-arm
      
      :
        target/arm: Use signed quantity to represent VMSAv8-64 translation level
        target/arm: Don't do two-stage lookup if stage 2 is disabled
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      80e99f29
    • Ard Biesheuvel's avatar
      target/arm: Use signed quantity to represent VMSAv8-64 translation level · 15f8f467
      Ard Biesheuvel authored
      
      The LPA2 extension implements 52-bit virtual addressing for 4k and 16k
      translation granules, and for the former, this means an additional level
      of translation is needed. This means we start counting at -1 instead of
      0 when doing a walk, and so 'level' is now a signed quantity, and should
      be typed as such. So turn it from uint32_t into int32_t.
      
      This avoids a level of -1 getting misinterpreted as being >= 3, and
      terminating a page table walk prematurely with a bogus output address.
      
      Cc: Peter Maydell <peter.maydell@linaro.org>
      Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
      Cc: Richard Henderson <richard.henderson@linaro.org>
      Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
      Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      15f8f467
    • Stefan Hajnoczi's avatar
      Merge tag 'pull-loongarch-20221122' of https://gitlab.com/gaosong/qemu into staging · 16a550bd
      Stefan Hajnoczi authored
      LoongArch pull for 7.2-rc2
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iLMEAAEIAB0WIQS4/x2g0v3LLaCcbCxAov/yOSY+3wUCY3zJLQAKCRBAov/yOSY+
      # 3wHkBADTgirzsosyvVGza6nHD1QTEK6ZqnvYB0wCoxKBt1btvzLoKO5gbe7S3Pq4
      # obFurS+5QclwIuLR6ZkihNGMBL+uq6XZryUGG3pU8h1XZigdduiEk7l7YGF+N+hz
      # /7ESJGHzCTiXyTTXBNgLJEJYfUYdV+kWbXkIQuJGT+kdlzUifA==
      # =Uod8
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Tue 22 Nov 2022 08:05:49 EST
      # gpg:                using RSA key B8FF1DA0D2FDCB2DA09C6C2C40A2FFF239263EDF
      # gpg: Good signature from "Song Gao <m17746591750@163.com>" [unknown]
      # 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: B8FF 1DA0 D2FD CB2D A09C  6C2C 40A2 FFF2 3926 3EDF
      
      * tag 'pull-loongarch-20221122' of https://gitlab.com/gaosong/qemu
      
      :
        hw/loongarch: Replace the value of uart info with macro
        hw/loongarch: Fix setprop_sized method in fdt rtc node.
        hw/loongarch: Add default stdout uart in fdt
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      16a550bd
    • Stefan Hajnoczi's avatar
      Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging · ccb8d593
      Stefan Hajnoczi authored
      
      pc,virtio: regression, test fixes
      
      fixes regressions:
          virtio error message triggered by seabios
          failure in vhost due to VIRTIO_F_RING_RESET
          broken keyboard under seabios
      
      some biosbits test fixes
      
      there's still a known regression with migration and vsock,
      not fixed yet.
      
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQFDBAABCAAtFiEEXQn9CHHI+FuUyooNKB8NuNKNVGkFAmN8os4PHG1zdEByZWRo
      # YXQuY29tAAoJECgfDbjSjVRpw+UH/2JOoxqzkkq4QyV5PzmjsiyyMbrBqFSOTro2
      # 98k9MwxNWHIk6fi3FVIz+LX1EdwDbMl44IHQ88xo7k39V7ThvVvLfjaQySSeoCfE
      # 04++AvkOQ/O8W7sob17r2iPWIHKPIndq8uB652T89o1I/nhmFMsUkdRWmVQ3XsDk
      # DnPZxjBQnKY0oSvBd7SmSI3C+eA4lF1tht50ZxmOshLx4OSjK/maFVpIyLsUGTMn
      # 6OMxKffDjfvw5z94+pGN1RQm9xu7OwtFZyUnH16xoQUmWSXjzcYXUZ3buTY+eAyJ
      # I5j9ox27Cqn1wGcypUiTCKLIExEMBfvNY4ovyRa1xvW+MXluVyE=
      # =bF2U
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Tue 22 Nov 2022 05:22:06 EST
      # gpg:                using RSA key 5D09FD0871C8F85B94CA8A0D281F0DB8D28D5469
      # gpg:                issuer "mst@redhat.com"
      # gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>" [full]
      # gpg:                 aka "Michael S. Tsirkin <mst@redhat.com>" [full]
      # Primary key fingerprint: 0270 606B 6F3C DF3D 0B17  0970 C350 3912 AFBE 8E67
      #      Subkey fingerprint: 5D09 FD08 71C8 F85B 94CA  8A0D 281F 0DB8 D28D 5469
      
      * tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu
      
      :
        virtio: disable error for out of spec queue-enable
        acpi/tests/avocado/bits: keep the work directory when BITS_DEBUG is set in env
        tests/avocado: configure acpi-bits to use avocado timeout
        MAINTAINERS: add mst to list of biosbits maintainers
        tests: acpi: x86: update expected DSDT after moving PRQx fields in _SB scope
        acpi: x86: move RPQx field back to _SB scope
        tests: acpi: whitelist DSDT before moving PRQx to _SB scope
        vhost: mask VIRTIO_F_RING_RESET for vhost and vhost-user devices
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      ccb8d593
    • Stefan Hajnoczi's avatar
      Merge tag 'pull-misc-for-7.2-221122-1' of https://gitlab.com/stsquad/qemu into staging · d3e9c79a
      Stefan Hajnoczi authored
      Testing and doc updates:
      
        - Only probe if docker or podman binaries in path
        - reduce console noise for aspeed avocado tests
        - update documents on maintainer roles and process
        - raise timeout for ppc64 avocado tests
        - integrate coverage reports into gitlab
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmN8nE0ACgkQ+9DbCVqe
      # KkShJQf/UXmesO6kdrW+IcKme3usea18Nvwqav5QYkiKF2TU1aU4Fguqfz+2bJ1V
      # 81ej3aUYR5pAxLL4pExoJkXbxB59B4gWPkL2QS8OZvNJVqGz/37LZBEY/nZOJ2kS
      # rPAiCVDnKE/mUrK08DdAQst4PmT8SB09oHX+1WCEdylenT2cmEDNKOGkX6X/XNKU
      # GOAtV1lzzD4L18rWV6ejV0uowICoNgjvvbHqIV7efwAEeKOctdesPx427xyhGeN9
      # 0iWglby5TGxdsZCk01zeiAvlvfEr57d7uU7AF/nNxka+F8FpuBcB7pMxtw8rupTX
      # eHjfN4XZ+hUZ4BXplc6RLR27H4Nk4Q==
      # =jgXs
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Tue 22 Nov 2022 04:54:21 EST
      # gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
      # gpg: Good signature from "Alex Bennée (Master Work Key) <alex.bennee@linaro.org>" [unknown]
      # 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: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44
      
      * tag 'pull-misc-for-7.2-221122-1' of https://gitlab.com/stsquad/qemu
      
      :
        gitlab: integrate coverage report
        tests/avocado: skip aarch64 cloud TCG tests in CI
        tests/avocado: introduce alpine virt test for CI
        tests/avocado: Raise timeout for boot_linux.py:BootLinuxPPC64.test_pseries_tcg
        docs/devel: try and improve the language around patch review
        docs/devel: simplify the minimal checklist
        docs/devel: make language a little less code centric
        docs/devel: add a maintainers section to development process
        tests/docker: allow user to override check target
        tests/avocado/machine_aspeed.py: Reduce noise on the console for SDK tests
        Run docker probe only if docker or podman are available
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      d3e9c79a
    • Peter Maydell's avatar
      target/arm: Don't do two-stage lookup if stage 2 is disabled · 26ba00cf
      Peter Maydell authored
      
      In get_phys_addr_with_struct(), we call get_phys_addr_twostage() if
      the CPU supports EL2.  However, we don't check here that stage 2 is
      actually enabled.  Instead we only check that inside
      get_phys_addr_twostage() to skip stage 2 translation.  This means
      that even if stage 2 is disabled we still tell the stage 1 lookup to
      do its page table walks via stage 2.
      
      This works by luck for normal CPU accesses, but it breaks for debug
      accesses, which are used by the disassembler and also by semihosting
      file reads and writes, because the debug case takes a different code
      path inside S1_ptw_translate().
      
      This means that setups that use semihosting for file loads are broken
      (a regression since 7.1, introduced in recent ptw refactoring), and
      that sometimes disassembly in debug logs reports "unable to read
      memory" rather than showing the guest insns.
      
      Fix the bug by hoisting the "is stage 2 enabled?" check up to
      get_phys_addr_with_struct(), so that we handle S2 disabled the same
      way we do the "no EL2" case, with a simple single stage lookup.
      
      Reported-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Message-id: 20221121212404.1450382-1-peter.maydell@linaro.org
      26ba00cf
    • Xiaojuan Yang's avatar
      hw/loongarch: Replace the value of uart info with macro · 4451cc46
      Xiaojuan Yang authored
      
      Using macro to replace the value of uart info such as addr, size
      in acpi_build method.
      
      Signed-off-by: default avatarXiaojuan Yang <yangxiaojuan@loongson.cn>
      Reviewed-by: default avatarSong Gao <gaosong@loongson.cn>
      Message-Id: <20221115115008.3372489-1-yangxiaojuan@loongson.cn>
      Signed-off-by: default avatarSong Gao <gaosong@loongson.cn>
      4451cc46
    • Xiaojuan Yang's avatar
      hw/loongarch: Fix setprop_sized method in fdt rtc node. · e8c8203e
      Xiaojuan Yang authored
      
      Fix setprop_sized method in fdt rtc node.
      
      Signed-off-by: default avatarXiaojuan Yang <yangxiaojuan@loongson.cn>
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Reviewed-by: default avatarSong Gao <gaosong@loongson.cn>
      Message-Id: <20221116040300.3459818-1-yangxiaojuan@loongson.cn>
      Signed-off-by: default avatarSong Gao <gaosong@loongson.cn>
      e8c8203e
Loading