1. 28 Jan, 2022 10 commits
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/bonzini-gitlab/tags/for-upstream' into staging · 7a1043ce
      Peter Maydell authored
      
      
      * configure and meson fixes
      * "meson test" switch for iotests
      * deprecation of old SGX QAPI
      * unexport InterruptStatsProviderClass-related functions
      
      # gpg: Signature made Fri 28 Jan 2022 10:13:36 GMT
      # 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
      
      * remotes/bonzini-gitlab/tags/for-upstream:
        configure: fix parameter expansion of --cross-cc-cflags options
        qapi: Cleanup SGX related comments and restore @section-size
        check-block: replace -makecheck with TAP output
        qemu-iotests: require at least an argument to check-block.sh
        build: make check-block a meson test
        scripts/mtest2make: add support for SPEED=thorough
        check-block.sh: passthrough -jN flag of make to -j N flag of check
        meson: Use find_program() to resolve the entitlement.sh script
        exec/cpu: Make host pages variables / macros 'target agnostic'
        meson.build: Use a function from libfdt 1.5.1 for the library check
        intc: Unexport InterruptStatsProviderClass-related functions
        docker: add msitools to Fedora/mingw cross
        build-sys: fix undefined ARCH error
        build-sys: fix a meson deprecation warning
      Signed-off-by: Peter Maydell's avatarPeter Maydell <peter.maydell@linaro.org>
      7a1043ce
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/aperard/tags/pull-xen-20220127' into staging · b367db48
      Peter Maydell authored
      
      
      Xen patches
      
      - bug fixes for mapcache and ioreq handling
      
      # gpg: Signature made Thu 27 Jan 2022 15:17:22 GMT
      # gpg:                using RSA key F80C006308E22CFD8A92E7980CF5572FD7FB55AF
      # gpg: Good signature from "Anthony PERARD <anthony.perard@gmail.com>" [unknown]
      # gpg:                 aka "Anthony PERARD <anthony.perard@citrix.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: 5379 2F71 024C 600F 778A  7161 D8D5 7199 DF83 42C8
      #      Subkey fingerprint: F80C 0063 08E2 2CFD 8A92  E798 0CF5 572F D7FB 55AF
      
      * remotes/aperard/tags/pull-xen-20220127:
        xen-mapcache: Avoid entry->lock overflow
        xen-hvm: Allow disabling buffer_io_timer
      Signed-off-by: Peter Maydell's avatarPeter Maydell <peter.maydell@linaro.org>
      b367db48
    • Matheus Ferst's avatar
      configure: fix parameter expansion of --cross-cc-cflags options · 479ca4cc
      Matheus Ferst authored and Paolo Bonzini's avatar Paolo Bonzini committed
      
      
      Without this fix, any use of --cross-cc-cflags-* causes a message like:
      $ ../configure --cross-cc-ppc64le=clang --cross-cc-cflags-ppc64le="-target powerpc64le-unknown-linux-gnu -sysroot ..."
      ../configure: 1: eval: cross_cc_cflags_--cross-cc-cflags-ppc64le=-target: not found
      ../configure: 3816: export: cross_cc_cflags_--cross-cc-cflags-ppc64le: bad variable name
      Signed-off-by: Matheus Ferst's avatarMatheus Ferst <matheus.ferst@eldorado.org.br>
      Message-Id: <20220120173142.2755077-1-matheus.ferst@eldorado.org.br>
      [Fix other occurrences too, noted by Philippe Mathieu-Daudé. - Paolo]
      Signed-off-by: Paolo Bonzini's avatarPaolo Bonzini <pbonzini@redhat.com>
      479ca4cc
    • Yangzhong's avatar
      qapi: Cleanup SGX related comments and restore @section-size · a66bd91f
      Yangzhong authored and Paolo Bonzini's avatar Paolo Bonzini committed
      
      
      The SGX NUMA patches were merged into Qemu 7.0 release, we need
      clarify detailed version history information and also change
      some related comments, which make SGX related comments clearer.
      
      The QMP command schema promises backwards compatibility as standard.
      We temporarily restore "@section-size", which can avoid incompatible
      API breakage. The "@section-size" will be deprecated in 7.2 version.
      Suggested-by: Daniel P. Berrangé's avatarDaniel P. Berrangé <berrange@redhat.com>
      Signed-off-by: Yangzhong's avatarYang Zhong <yang.zhong@intel.com>
      Reviewed-by: Daniel P. Berrangé's avatarDaniel P. Berrangé <berrange@redhat.com>
      Reviewed-by: Philippe Mathieu-Daudé's avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Message-Id: <20220120223104.437161-1-yang.zhong@intel.com>
      Signed-off-by: Paolo Bonzini's avatarPaolo Bonzini <pbonzini@redhat.com>
      a66bd91f
    • Paolo Bonzini's avatar
      check-block: replace -makecheck with TAP output · d316859f
      Paolo Bonzini authored
      
      
      Let "meson test" take care of showing the results of the individual tests,
      consistently with other output from "make check V=1".
      Signed-off-by: Paolo Bonzini's avatarPaolo Bonzini <pbonzini@redhat.com>
      d316859f
    • Paolo Bonzini's avatar
      qemu-iotests: require at least an argument to check-block.sh · 18c1cdd2
      Paolo Bonzini authored
      
      
      This is anyway how check-block.sh is used in practice, and by removing the
      list of formats in the script we avoid duplication between meson.build
      and check-block.sh.
      Signed-off-by: Paolo Bonzini's avatarPaolo Bonzini <pbonzini@redhat.com>
      18c1cdd2
    • Paolo Bonzini's avatar
      build: make check-block a meson test · 98487b90
      Paolo Bonzini authored
      
      
      "meson test" can be asked to run tests verbosely; this makes it usable
      also for qemu-iotests's own harness, and it lets "make check-block"
      reuse mtest2make.py's infrastructure to find and build test dependencies.
      
      Adjust check-block.sh to use the standard exit code that reports a test
      as skipped.  Alternatively, in the future we could make it produce TAP
      output, which is consistent with all other "make check" tests.
      Signed-off-by: Paolo Bonzini's avatarPaolo Bonzini <pbonzini@redhat.com>
      98487b90
    • Paolo Bonzini's avatar
      3e233e29
    • Vladimir Sementsov-Ogievskiy's avatar
      check-block.sh: passthrough -jN flag of make to -j N flag of check · bcda7b17
      Vladimir Sementsov-Ogievskiy authored and Paolo Bonzini's avatar Paolo Bonzini committed
      
      
      This improves performance of running iotests during "make -jN check".
      Signed-off-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      Message-Id: <20211223183933.1497037-1-vsementsov@virtuozzo.com>
      Signed-off-by: Paolo Bonzini's avatarPaolo Bonzini <pbonzini@redhat.com>
      bcda7b17
    • Philippe Mathieu-Daudé's avatar
      meson: Use find_program() to resolve the entitlement.sh script · 235b523d
      Philippe Mathieu-Daudé authored and Paolo Bonzini's avatar Paolo Bonzini committed
      
      
      Using ../configure without any particular option generates 31 targets
      on Darwin, and meson search for the entitlement.sh script 31 times:
      
        Program nm found: YES
        Program scripts/undefsym.py found: YES (/opt/homebrew/opt/python@3.9/bin/python3.9 /Code/qemu/scripts/undefsym.py)
        Program scripts/feature_to_c.sh found: YES (/bin/sh /Code/qemu/scripts/feature_to_c.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Program scripts/entitlement.sh found: YES (/Code/qemu/scripts/entitlement.sh)
        Configuring 50-edk2-i386-secure.json using configuration
        Configuring 50-edk2-x86_64-secure.json using configuration
      
      Use find_program() which seems to cache the script path once found.
      Signed-off-by: Philippe Mathieu-Daudé's avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: 小田喜陽彦's avatarAkihiko Odaki <akihiko.odaki@gmail.com>
      Reviewed-by: Richard Henderson's avatarRichard Henderson <richard.henderson@linaro.org>
      Message-Id: <20220122002052.83745-1-f4bug@amsat.org>
      Signed-off-by: Paolo Bonzini's avatarPaolo Bonzini <pbonzini@redhat.com>
      235b523d
  2. 27 Jan, 2022 17 commits
  3. 26 Jan, 2022 2 commits
  4. 22 Jan, 2022 1 commit
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/jsnow-gitlab/tags/python-pull-request' into staging · aeb0ae95
      Peter Maydell authored
      
      
      Python patches
      
      A few fixes to the Python CI tests, a few fixes to the (async) QMP
      library, and a set of patches that begin to shift us towards using the
      new qmp lib.
      
      # gpg: Signature made Sat 22 Jan 2022 00:07:58 GMT
      # gpg:                using RSA key F9B7ABDBBCACDF95BE76CBD07DEF8106AAFC390E
      # gpg: Good signature from "John Snow (John Huston) <jsnow@redhat.com>" [full]
      # Primary key fingerprint: FAEB 9711 A12C F475 812F  18F2 88A9 064D 1835 61EB
      #      Subkey fingerprint: F9B7 ABDB BCAC DF95 BE76  CBD0 7DEF 8106 AAFC 390E
      
      * remotes/jsnow-gitlab/tags/python-pull-request:
        scripts/render-block-graph: switch to AQMP
        scripts/cpu-x86-uarch-abi: switch to AQMP
        scripts/cpu-x86-uarch-abi: fix CLI parsing
        python: move qmp-shell under the AQMP package
        python: move qmp utilities to python/qemu/utils
        python/qmp: switch qmp-shell to AQMP
        python/qmp: switch qom tools to AQMP
        python/qmp: switch qemu-ga-client to AQMP
        python/qemu-ga-client: don't use deprecated CLI syntax in usage comment
        python/aqmp: rename AQMPError to QMPError
        python/aqmp: add SocketAddrT to package root
        python/aqmp: copy type definitions from qmp
        python/aqmp: handle asyncio.TimeoutError on execute()
        python/aqmp: add __del__ method to legacy interface
        python/aqmp: fix docstring typo
        python: use avocado's "new" runner
        python: pin setuptools below v60.0.0
      Signed-off-by: Peter Maydell's avatarPeter Maydell <peter.maydell@linaro.org>
      aeb0ae95
  5. 21 Jan, 2022 10 commits