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: 9c9fff18c45b
Choose a base ref
...
head repository: qemu/qemu
compare: ac84b57b4d74
Choose a head ref
  • 13 commits
  • 13 files changed
  • 3 contributors

Commits on May 26, 2023

  1. tests/docker: simplify HOST_ARCH definition

    ARCH is always empty, so just define HOST_ARCH as the result of uname.
    
    Acked-by: Alex Bennée <alex.bennee@linaro.org>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed May 26, 2023
    Copy the full SHA
    a269620 View commit details
    Browse the repository at this point in the history
  2. tests/vm: fix and simplify HOST_ARCH definition

    ARCH is always empty, so just define HOST_ARCH as the result of uname.
    The incorrect definition was not being used because the "ifeq" statement
    is wrong; replace it with the same idiom based on $(realpath) that the
    main Makefile uses.
    
    With this change, vm-build-netbsd in a configured tree will not use
    the PYTHONPATH hack.
    
    Reported-by: John Snow <jsnow@redhat.com>
    Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed May 26, 2023
    Copy the full SHA
    b1399b0 View commit details
    Browse the repository at this point in the history
  3. Makefile: remove $(TESTS_PYTHON)

    It is now the same as $(PYTHON), since the latter always points at pyvenv/bin/python3.
    
    Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed May 26, 2023
    Copy the full SHA
    eea2d14 View commit details
    Browse the repository at this point in the history
  4. configure: unset harmful environment variables

    Apart from CLICOLOR_FORCE and GREP_OPTIONS, there are other variables
    that are listed in the Autoconf manual.  While Autoconf neutralizes them
    very early, and assumes it does not (yet) run in a shell that has "unset",
    QEMU assumes that the user invoked configure under a POSIX shell, and
    therefore can simply use "unset" to clear them.
    
    CDPATH is particularly nasty because it messes up "cd ... && pwd".
    
    Reported-by: Juan Quintela <quintela@redhat.com>
    Cc: qemu-stable@nongnu.org
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed May 26, 2023
    Copy the full SHA
    5b50723 View commit details
    Browse the repository at this point in the history
  5. meson: Remove leftover comment

    Commit d2e6f92 ("fuzz: remove fork-fuzzing scaffolding") removed
    the linker script and forgot to remove the comment.
    
    Signed-off-by: Fabiano Rosas <farosas@suse.de>
    Message-Id: <20230525212044.30222-2-farosas@suse.de>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    Fabiano Rosas authored and bonzini committed May 26, 2023
    Copy the full SHA
    bac1bc8 View commit details
    Browse the repository at this point in the history
  6. meson: Add static glib dependency for initrd-stress.img

    We recently moved glib detection code to meson but this changes the
    linker command line from -lglib-2.0 to using a path to libglib-2.0.so.
    This does not work for static linking, which is used by stress.c:
    
     $ make V=1 tests/migration/initrd-stress.img
     cc -m64 -mcx16 -o tests/migration/stress ... -static -Wl,--start-group
     /usr/lib64/libglib-2.0.so -Wl,--end-group
     ...
     bin/ld: attempted static link of dynamic object `/usr/lib64/libglib-2.0.so'
    
    Add a specific dependency for stress.c, which is linked statically.
    The compiler command line is now:
    
     cc -m64 -mcx16 -o tests/migration/stress ... -static -pthread
     -Wl,--start-group -lm /usr/lib64/libpcre.a -lglib-2.0 -Wl,--end-group
    
    Fixes: fc9a809 ("build: move glib detection and workarounds to meson")
    Signed-off-by: Fabiano Rosas <farosas@suse.de>
    Message-Id: <20230525212044.30222-3-farosas@suse.de>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    Fabiano Rosas authored and bonzini committed May 26, 2023
    Copy the full SHA
    db01d85 View commit details
    Browse the repository at this point in the history
  7. slirp: update wrap to latest master

    It is recommended to use SSIZE_T for ssize_t on win32, but the commit
    that is being used for slirp.wrap uses int.  Update to include the fix
    as well as the other bugfix commit "ip: Enforce strict aliasing".
    
    Reported-by: Michael Tokarev <mjt@tls.msk.ru>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed May 26, 2023
    Copy the full SHA
    5590615 View commit details
    Browse the repository at this point in the history
  8. virtio: qmp: fix memory leak

    The VirtioInfoList is already allocated by QAPI_LIST_PREPEND and
    need not be allocated by the caller.
    
    Fixes Coverity CID 1508724.
    
    Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed May 26, 2023
    Copy the full SHA
    0bfd141 View commit details
    Browse the repository at this point in the history
  9. meson: simplify logic for -Dfdt

    fdt_opt == 'disabled' is going to give an error if libfdt is required
    by any target, so catch that immediately.  For fdt_opt == 'enabled',
    instead, do not check immediately whether the internal libfdt is present.
    Instead do the check after ascertaining that libfdt is absent or too old.
    
    Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed May 26, 2023
    Copy the full SHA
    577bdbc View commit details
    Browse the repository at this point in the history
  10. meson: use subproject for internal libfdt

    Recent dtc/libfdt can use either Make or meson as the build system.
    By using a subproject, our own meson.build can remove the hard
    coded list of source files.
    
    This is also the first step towards managing downloads with .wrap
    files instead of submodule.
    
    Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed May 26, 2023
    Copy the full SHA
    58e48b2 View commit details
    Browse the repository at this point in the history
  11. meson: use subproject for keycodemapdb

    By using a subproject, our own meson.build can use variables from
    the subproject instead of hard-coded paths.  This is also the first step
    towards managing downloads with .wrap files instead of submodule.
    
    Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed May 26, 2023
    Copy the full SHA
    c53648a View commit details
    Browse the repository at this point in the history
  12. configure: ignore --make

    Setting the MAKE variable to a GNU Make executable does not really have
    any effect: if a non-GNU Make is used, the QEMU Makefile will fail to
    parse.  Just remove everything related to --make and $make as dead code.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed May 26, 2023
    Copy the full SHA
    b17bbf8 View commit details
    Browse the repository at this point in the history
  13. Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging

    * build system fixes and cleanups
    * use subproject() for the dtc and keycodemapdb submodules
    * fix virtio memory leak
    * update slirp.wrap to latest commit in the master branch
    
    # -----BEGIN PGP SIGNATURE-----
    #
    # iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmRwi6cUHHBib256aW5p
    # QHJlZGhhdC5jb20ACgkQv/vSX3jHroO3awf9GsLa0sip+lUsV2JgzZGm2mL7Fo9A
    # kBbuehaT+5gI2PGY6Sp1RVdDnf/JS4HkU11TBBVYFpJdDwqerCNcprgOO3Y5Mung
    # Ukg93FgdvORlbTyfnMXNUe8dDaoTe6kvN1kTm+zhzMCJDTSCgZRqWc4Fh5oNg+No
    # pupeR7hjW6nEKSnYVhjP7LjSOteJfR9aeKT/bxRaQpmlegeGVC6RZ1naZtRHY6le
    # Y8KeKoelgBkEGPk5MnmFhnrITwYrfV0g2uP4Jinr5GildC8E/ZSmxo5h1TUqkQFA
    # /MKuIt6cRBitCHyYQLiXY+MZc6AkS3tsAhCo41Nknb4nylKeWgPHBIAWxA==
    # =NRBc
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Fri 26 May 2023 03:36:23 AM PDT
    # gpg:                using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
    # gpg:                issuer "pbonzini@redhat.com"
    # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [undefined]
    # gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>" [undefined]
    # 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: 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:
      configure: ignore --make
      meson: use subproject for keycodemapdb
      meson: use subproject for internal libfdt
      meson: simplify logic for -Dfdt
      virtio: qmp: fix memory leak
      slirp: update wrap to latest master
      meson: Add static glib dependency for initrd-stress.img
      meson: Remove leftover comment
      configure: unset harmful environment variables
      Makefile: remove $(TESTS_PYTHON)
      tests/vm: fix and simplify HOST_ARCH definition
      tests/docker: simplify HOST_ARCH definition
    
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    rth7680 committed May 26, 2023
    Copy the full SHA
    ac84b57 View commit details
    Browse the repository at this point in the history