Skip to content
Snippets Groups Projects
  1. Mar 03, 2023
  2. Mar 02, 2023
    • Peter Maydell's avatar
      Merge tag 'pull-testing-next-010323-1' of https://gitlab.com/stsquad/qemu into staging · 262312d7
      Peter Maydell authored
      testing updates:
      
        - ensure socat available for tests
        - skip socat tests for MacOS
        - properly clean up fifos after use
        - make fp-test less chatty
        - store test artefacts on Cirrus
        - control custom runners with QEMU_CI knobs
        - disable benchmark runs under tsan build
        - update ubuntu 2004 to 2204
        - skip nios2 kernel replay test
        - add tuxrun baselines to avocado
        - binary build of tricore tools
        - export test results on cross builds
        - improve windows builds
        - ensure we properly print TAP headers
        - migrate away from docker.py for building containers
        - be more efficient in our handling of build artefacts between stages
        - enable ztsd in containers so we can run tux_baselines
        - disable heavyweight PPC64 Boot Linux test in CI
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmP/SmUACgkQ+9DbCVqe
      # KkQgSQgAmVrXEL+1/L7JNka/xDumZ+t39oxAAcY22WfV0dNIC85WQ/02A3+uMZmt
      # pbNXq7PPvZ1YE4ygjqwHu5WabEA1lmcdAoyg8/ACwnQMDyQ9RZGxceNO3UUsaoNx
      # b3U/hsOS1ggo5lzzfamsRj2xbxthtUx2MJZQe96NTWSut1ibcHLYyaOqxCY6Q5zJ
      # ZONOHOd3NLlrb+omLONLp9J+100Dt/x1UHsW5daSqRKaoDucO6w/So6YxGOshn90
      # tJIJ/vKTtYBZBfF5JYoJ7A/m9Ia/YjcTVLxbXpMI6Bvw0P9PSIAZuvgbKfxfIAnf
      # EHqZo1B71aH74vFTttK9Q1rnf9/9Cg==
      # =grRh
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Wed 01 Mar 2023 12:51:49 GMT
      # gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
      # gpg: Good signature from "Alex Bennée (Master Work Key) <alex.bennee@linaro.org>" [full]
      # Primary key fingerprint: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44
      
      * tag 'pull-testing-next-010323-1' of https://gitlab.com/stsquad/qemu
      
      : (24 commits)
        tests/avocado: disable BootLinuxPPC64 test in CI
        tests/docker: add zstdtools to the images
        gitlab: move the majority of artefact handling to a template
        tests/docker: use direct RUNC call to run test jobs
        tests/docker: use direct RUNC call to build containers
        tests/docker: add USER stanzas to non-lci images
        tests/lcitool: append user setting stanza to dockerfiles
        configure: expose the direct container command
        tests: Ensure TAP version is printed before other messages
        gitlab: Use plain docker in container-template.yml
        tests/dockerfiles: unify debian-toolchain references
        cirrus.yml: Improve the windows_msys2_task
        tests: ensure we export job results for some cross builds
        tests/docker: Use binaries for debian-tricore-cross
        tests: add tuxrun baseline test to avocado
        tests: skip the nios2 replay_kernel test
        testing: update ubuntu2004 to ubuntu2204
        tests: don't run benchmarks for the tsan build
        gitlab: extend custom runners with base_job_template
        gitlab-ci: Use artifacts instead of dumping logs in the Cirrus-CI jobs
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      262312d7
    • Peter Maydell's avatar
      Merge tag 'pull-monitor-2023-03-02' of https://repo.or.cz/qemu/armbru into staging · 0ccf919d
      Peter Maydell authored
      Monitor patches for 2023-03-02
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQJGBAABCAAwFiEENUvIs9frKmtoZ05fOHC0AOuRhlMFAmQASV0SHGFybWJydUBy
      # ZWRoYXQuY29tAAoJEDhwtADrkYZT4mEQALkbu0i/Y2B2XKpGyp9Z/uf0zoHmL6fA
      # UEy2S8yn3K1uPPDmzWsQ7PgxDnirVzePa88UzuW3iUiiHBcQp0IsFOP6LZ47NTTz
      # UM146odlDtn50bHWr6vHtToNU+PcKOw8ELX28eDE+ihtg+8B+B6cBgLa14VKGSJ4
      # 4oBJbsNMG8U3qJgqrIMomBeP38TorTdKq05jEE9txqsiw5uYO6jQE9owNkLQP76U
      # 8T/99sgQzyQjJ7VjOdyu2ZveUwGIpmGzmeA26CcwYP8uhYTRY+Lk+5gZnC15pad9
      # TMimrq+7vwuzqKQpZw5rZO25ryQmKgQX49hSt/dKZEFNvb9vtKq693VhRoP4EMCz
      # 136suIATRkXHTw2FhjC2l3lnN+rQEfTr+zuGvazQ9ZOibHFPhxOAR4RNPTFXbfk6
      # fOM7wW2Y3lhlQdhLc+0Ar2N/GzjEHi4WJhk4nV0V1PK79dLPYA5kuYGUuqzeA04P
      # Fu1EvpNWgHpQd3m8oFxjfozn9LMDohUrdHknrF0+VncAfzcPic1z4VhKDg+kMLJx
      # 1WePIMdMMS/aIYpNCMevLm11GQXhd2B4GG3xhNpM/BfHQ9KLM1dfoTEGfG9ZpKNv
      # Qyi1ofpgKzX5mpSHrdACK/rm45KIJRbprGgAe3fZFh65iGQ51wwZd16MUV/c8exN
      # ouu3jimfHWWG
      # =RuRo
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Thu 02 Mar 2023 06:59:41 GMT
      # 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-monitor-2023-03-02' of https://repo.or.cz/qemu/armbru
      
      :
        target/ppc: Restrict 'qapi-commands-machine.h' to system emulation
        target/loongarch: Restrict 'qapi-commands-machine.h' to system emulation
        target/i386: Restrict 'qapi-commands-machine.h' to system emulation
        target/arm: Restrict 'qapi-commands-machine.h' to system emulation
        readline: fix hmp completion issue
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      0ccf919d
    • Peter Maydell's avatar
      Merge tag 'bsd-user-2023q1-pull-request' of gitlab.com:bsdimp/qemu into staging · 2461c0b6
      Peter Maydell authored
      2023 Q1 bsd-user upstreaming: bugfixes and sysctl
      
      [ letter edited -- need reviews for these hunks
           bsd-user: Helper routines h2g_old_sysctl
           bsd-user: various helper routines for sysctl
      ]
      
      This group of patches gets the basic framework for sysctl upstreamed. There's a
      lot more to translate far too many binary blobs the kernel publishes via
      sysctls, but I'm leaving those out in the name of simplicity.
      
      There's also a bug fix from Doug Rabson that fixes a long int confusion leading
      to a trunctation of addresses (oops)
      
      There's a fix for the -static option, since clang hates -no-pie and needs only
      -fno-pie.
      
      Finally, I'm changing how I'm upstreaming a little. I'm doing a little deeper
      dives into our rather chaotic repo to find a couple of authors I might have
      missed. From here on out, I'll be using the original author's name as the git
      author. I'll also tag the co-authors better as well when there's multiple people
      that did something (other than reformat and/or move code around). I've
      discovered more code moved about than I'd previously known. This seems more in
      line with standard practice.
      
      v3->pull:
      o minor	tweaks in the conditional reviews around formatting
      o fix all errors for check patch and am	OK with	remaining warnings for
        line length that's only slightly too long
      o edited letter for changes in review process
      
      v3:
      o Removed -strict, it's not ready and needs a complete rethink.
      o Add g_assert_not_reached()
      o target -> guest in most places
      o Use MIN() to simplify things
      o Better types in many places (abi_int instead of int32_t)
      o Use ARRAY_COUNT
      o fix tabs copied from FreeBSD sources to spaces
      
      v2:
      o Created various helper functions to make the code a little better
      o split a few patches that I thought would be approved together but
        that generated commentary. It's easier to manage 1 per patch for
        those.
      o Add/delete G_GNU_UNUSED to ensure all patches compile w/o warnings
      o Fix 64-bit running 32-bit binary to get a LONG or ULONG. Add a
        bounce buffer for these so we don't overflow anything on the target
        and return all the elements of arrays.
      o Fixed a number of nits noticed in the review.
      o Add or improve comments to explain things there were questions on
        during the review.
      o fix noted typos
      o fix host != target page size differences
      o Add pointers to FreeBSD source code, as appropriate
      o fix locking (mostly unlocking) on error paths
      o Note: -strict feedback not yet applied due to large numbers of changes
        from the rest. Next round.
      
      # -----BEGIN PGP SIGNATURE-----
      # Comment: GPGTools - https://gpgtools.org
      
      
      #
      # iQIzBAABCgAdFiEEIDX4lLAKo898zeG3bBzRKH2wEQAFAmP/l/4ACgkQbBzRKH2w
      # EQACSA/+McBQE2IAw+OaAXwD9yOjN9YAEoitl1eUAYuRNGnODuA0mlsTdEaEOHXi
      # 0gzJ6qLqZxN0fzkQ6cdME3Tsft4bnwW/glRtIoOjfEYur/4VMJGCxcCmdF3DNUR9
      # aDqr+SukhkMI3fy2CtPDViX8kH8RUlv1I4JM7vBkiu0XB2Joe0cKqGsSOlQvPOPc
      # imhNX5Vw3A5RB/GoiJkoMBu42HwIqFUtMU3RkeraclHSeQfqgWiNu1TZyJtmsL9S
      # qUPhc4+Ac1EeO9cA67j3t+vlYBR9RcvQHjtSFBpcNjYcJdchgB4Kk4E94/O0jgq4
      # +ueV4bkPL0wNWi13mPwclK/VTMdobyLJsRzH5ulk1GF7bGFSbkYlr2Nbct7HLWMo
      # DIkN8oCs/j2TqE5ZxTMmLnuA7N7mpdtGt2xM4VBgev9MRzF9nN09LmR/smOzechp
      # /Jr9ujU3c6XTlWO0x+lQrKGo0BlNjiGJujoS21UpiWBKISxaelVxId2UTBA1BPGR
      # UfNAD+eD1TFbDHFLBN8SsLNXam6BkIcOgQ5sbwde6Y+W4TVKZ1XpB0dxzmnftdt/
      # iEIygOj3F2BGVbvPtpP+KzSfjMg7+s4mb1/oDI5D7bekY0RK8C6KRasF/L4QjMWN
      # U08L2n+aQ7udcLZHmnzsd3Ifvu7+I/YaAR8gP/G7ZH2z3toMk5E=
      # =HB1L
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Wed 01 Mar 2023 18:22:54 GMT
      # gpg:                using RSA key 2035F894B00AA3CF7CCDE1B76C1CD1287DB01100
      # gpg: Good signature from "Warner Losh <wlosh@netflix.com>" [unknown]
      # gpg:                 aka "Warner Losh <imp@bsdimp.com>" [unknown]
      # gpg:                 aka "Warner Losh <imp@freebsd.org>" [unknown]
      # gpg:                 aka "Warner Losh <imp@village.org>" [unknown]
      # gpg:                 aka "Warner Losh <wlosh@bsdimp.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: 2035 F894 B00A A3CF 7CCD  E1B7 6C1C D128 7DB0 1100
      
      * tag 'bsd-user-2023q1-pull-request' of gitlab.com:bsdimp/qemu:
        bsd-user: implement sysctlbyname(2)
        bsd-user: do_freebsd_sysctl helper for sysctl(2)
        bsd-user: Start translation of arch-specific sysctls
        bsd-user: common routine do_freebsd_sysctl_oid for all sysctl variants
        bsd-user: sysctl helper funtions: sysctl_name2oid and sysctl_oidfmt
        bsd-user: Helper routines oidfmt
        bsd-user: various helper routines for sysctl
        bsd-user: Add sysarch syscall
        build: Don't specify -no-pie for --static user-mode programs
        bsd-user: Don't truncate the return value from freebsd_syscall
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      2461c0b6
    • Philippe Mathieu-Daudé's avatar
      target/ppc: Restrict 'qapi-commands-machine.h' to system emulation · 0f3fea21
      Philippe Mathieu-Daudé authored
      
      Since commit a0e61807 ("qapi: Remove QMP events and commands from
      user-mode builds") we don't generate the "qapi-commands-machine.h"
      header in a user-emulation-only build.
      
      Move the QMP functions from cpu_init.c (which is always compiled)
      to monitor.c (which is only compiled when system-emulation
      is selected).  Rename monitor.c to arm-qmp-cmds.c.
      
      Note ppc_cpu_class_by_name() is used by both file units, so we
      expose its prototype in "cpu-qom.h".
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Reviewed-by: default avatarCédric Le Goater <clg@kaod.org>
      Message-Id: <20230223155540.30370-5-philmd@linaro.org>
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      0f3fea21
    • Philippe Mathieu-Daudé's avatar
      target/loongarch: Restrict 'qapi-commands-machine.h' to system emulation · 381b43f8
      Philippe Mathieu-Daudé authored
      
      Since commit a0e61807 ("qapi: Remove QMP events and commands from
      user-mode builds") we don't generate the "qapi-commands-machine.h"
      header in a user-emulation-only build.
      
      Extract the QMP functions from cpu.c (which is always compiled)
      to the new 'loongarch-qmp-cmds.c' unit (which is only compiled
      when system emulation is selected).
      
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Message-Id: <20230223155540.30370-4-philmd@linaro.org>
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      381b43f8
    • Philippe Mathieu-Daudé's avatar
      target/i386: Restrict 'qapi-commands-machine.h' to system emulation · 390dbc6e
      Philippe Mathieu-Daudé authored
      
      Since commit a0e61807 ("qapi: Remove QMP events and commands from
      user-mode builds") we don't generate the "qapi-commands-machine.h"
      header in a user-emulation-only build.
      
      Guard qmp_query_cpu_definitions() within CONFIG_USER_ONLY; move
      x86_cpu_class_check_missing_features() closer since it is only used
      by this QMP command handler.
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Message-Id: <20230223155540.30370-3-philmd@linaro.org>
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      390dbc6e
    • Philippe Mathieu-Daudé's avatar
      target/arm: Restrict 'qapi-commands-machine.h' to system emulation · 3362f04d
      Philippe Mathieu-Daudé authored
      
      Since commit a0e61807 ("qapi: Remove QMP events and commands from
      user-mode builds") we don't generate the "qapi-commands-machine.h"
      header in a user-emulation-only build.
      
      Move the QMP functions from helper.c (which is always compiled)
      to monitor.c (which is only compiled when system-emulation
      is selected).  Rename monitor.c to arm-qmp-cmds.c.
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Message-Id: <20230223155540.30370-2-philmd@linaro.org>
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      [Straightforward conflict with commit 9def656e resolved]
      3362f04d
  3. Mar 01, 2023
Loading