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: aa222a8e4f97
Choose a base ref
...
head repository: qemu/qemu
compare: ffd9492f2a71
Choose a head ref
  • 8 commits
  • 11 files changed
  • 2 contributors

Commits on May 19, 2023

  1. remove remaining traces of meson submodule

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed May 19, 2023
    Copy the full SHA
    dde001e View commit details
    Browse the repository at this point in the history
  2. mkvenv: replace distlib.database with importlib.metadata/pkg_resources

    importlib.metadata is just as good as distlib.database and a bit more
    battle-proven for "egg" based distributions, and in fact that is exactly
    why mkvenv.py is not using distlib.database to find entry points: it
    simply does not work for eggs.
    
    The only disadvantage of importlib.metadata is that it is not available
    by default before Python 3.8, so we need a fallback to pkg_resources
    (again, just like for the case of finding entry points).  Do so to
    fix issues where incorrect egg metadata results in a JSONDecodeError.
    
    While at it, reuse the new _get_version function to diagnose an incorrect
    version of the package even if importlib.metadata is not available.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed May 19, 2023
    Copy the full SHA
    c673f3d View commit details
    Browse the repository at this point in the history
  3. build: rebuild build.ninja using "meson setup --reconfigure"

    Do not use the rule in build.ninja, because the path to meson is hardcoded
    in build.ninja and this breaks if meson moves (for example if the distro
    meson suddenly becomes too old after an update).
    
    Reported-by: Peter Maydell <peter.maydell@linaro.org>
    Tested-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed May 19, 2023
    Copy the full SHA
    b0fcc6f View commit details
    Browse the repository at this point in the history
  4. configure: fix backwards-compatibility for meson sphinx_build option

    Reintroduce the cmd_line.txt mangling to remove the sphinx_build option
    when rerunning meson.  The mechanism was removed in commit 75cc286
    ("configure: remove backwards-compatibility code", 2023-01-11) because
    the fixups were obsolete at the time; however, the Meson deprecation
    mechanism doesn't quite work when options are finally removed, so we
    need to bring it back.
    
    Reported-by: Peter Maydell <peter.maydell@linaro.org>
    Tested-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed May 19, 2023
    Copy the full SHA
    973038d View commit details
    Browse the repository at this point in the history
  5. mkvenv: pass first missing package to diagnose()

    If sphinx is present but the theme is not, mkvenv will print an
    inaccurate diagnostic:
    
    ERROR: Could not find a version that satisfies the requirement sphinx-rtd-theme>=0.5.0 (from versions: none)
    ERROR: No matching distribution found for sphinx-rtd-theme>=0.5.0
    
    'sphinx>=1.6.0' not found:
     • Python package 'sphinx' version '5.3.0' was found, but isn't suitable.
     • mkvenv was configured to operate offline and did not check PyPI.
    
    Instead, ignore the packages that were found to be present, and report
    an error based on the first absent package.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed May 19, 2023
    Copy the full SHA
    d37c21b View commit details
    Browse the repository at this point in the history
  6. gitlab: custom-runners: preserve more artifacts for debugging

    Since custom runners are not generally available, make it possible to
    debug the differences between a successful and a failing build by
    comparing the logs and the build.ninja rules.
    
    Acked-by: Richard Henderson <richard.henderson@linaro.org>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed May 19, 2023
    Copy the full SHA
    9fd9f39 View commit details
    Browse the repository at this point in the history
  7. scripts: make sure scripts are invoked via $(PYTHON)

    Some scripts are invoked via the first "python3" binary in the PATH,
    because they are executable and their shebang line is "#! /usr/bin/env
    python3".  To enforce usage of $(PYTHON), make them nonexecutable.
    Scripts invoked via meson need nothing else, and meson-buildoptions.py
    is already using $(PYTHON).  For probe-gdb-support.py however the
    invocation in the configure script has to be adjusted.
    
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed May 19, 2023
    Copy the full SHA
    4b424c7 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2023

  1. Merge tag 'for-upstream-urgent' of https://gitlab.com/bonzini/qemu in…

    …to staging
    
    Fixes for Python venv changes
    
    # -----BEGIN PGP SIGNATURE-----
    #
    # iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmRn7D4UHHBib256aW5p
    # QHJlZGhhdC5jb20ACgkQv/vSX3jHroOHbQgAiQW824iL2Iw+wjYckp0rwLxe53+z
    # P4kCdQePrfKW3sPglbeDArPr4gzuo7bdj75dscZmco+nBU40qGqEpRHBqjQol5pE
    # kcQsmqx+0Udbsc6kJe47fgSsBLD2KbT1QQCVBgScNuDviogQ0/PCLNWjk9V4OhgL
    # 0ZlK8QFnuv0qNthS+oNjkNi6SYGYNOw+4LQ/WcLWnowwhNRGUvYoq9QdOCocfyxD
    # t+1xQvF4Pxqnhbkni51JRoXv/Np8U/yDHMgonvw8BLxTMNAes4nV7ifzyW2pltnf
    # YEHGUKYPtrPR9dKLr/Au9ktr7n3O5ikOEpPIPSi4BwFqzv6hdE4DDAMXDA==
    # =Auyq
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Fri 19 May 2023 02:38:06 PM 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-urgent' of https://gitlab.com/bonzini/qemu:
      scripts: make sure scripts are invoked via $(PYTHON)
      gitlab: custom-runners: preserve more artifacts for debugging
      mkvenv: pass first missing package to diagnose()
      configure: fix backwards-compatibility for meson sphinx_build option
      build: rebuild build.ninja using "meson setup --reconfigure"
      mkvenv: replace distlib.database with importlib.metadata/pkg_resources
      remove remaining traces of meson submodule
    
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    rth7680 committed May 21, 2023
    Copy the full SHA
    ffd9492 View commit details
    Browse the repository at this point in the history