[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 115935: tests/avocado: update aarch64_virt te
From: |
Richard Henderson |
Subject: |
[Qemu-commits] [qemu/qemu] 115935: tests/avocado: update aarch64_virt test to exercis... |
Date: |
Wed, 20 Apr 2022 12:46:46 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 11593544df6f8febb3ce87015c22b429bf43c4c7
https://github.com/qemu/qemu/commit/11593544df6f8febb3ce87015c22b429bf43c4c7
Author: Alex Bennée <alex.bennee@linaro.org>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M MAINTAINERS
M tests/avocado/boot_linux_console.py
A tests/avocado/machine_aarch64_virt.py
Log Message:
-----------
tests/avocado: update aarch64_virt test to exercise -cpu max
The Fedora 29 kernel is quite old and importantly fails when running
in LPA2 scenarios. As it's not really exercising much of the CPU space
replace it with a custom 5.16.12 kernel with all the architecture
options turned on. There is a minimal buildroot initramfs included in
the kernel which has a few tools for stress testing the memory
subsystem. The userspace also targets the Neoverse N1 processor so
would fail with a v8.0 cpu like cortex-a53.
While we are at it move the test into its own file so it can have an
assigned maintainer.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-2-alex.bennee@linaro.org>
Commit: 396408ee922eeb409f08fdab6f3df7400279e634
https://github.com/qemu/qemu/commit/396408ee922eeb409f08fdab6f3df7400279e634
Author: Alex Bennée <alex.bennee@linaro.org>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M docs/devel/testing.rst
Log Message:
-----------
docs/devel: add some notes on the binfmt-image-debian targets
We document some of this on the wiki but lets move it into our
official developer notes documentation.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-3-alex.bennee@linaro.org>
Commit: ab20edf59d1bb6fe3a2c780067dad5c1cce73334
https://github.com/qemu/qemu/commit/ab20edf59d1bb6fe3a2c780067dad5c1cce73334
Author: Alex Bennée <alex.bennee@linaro.org>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M docs/devel/index-api.rst
M docs/devel/index-build.rst
M docs/devel/index-internals.rst
M docs/devel/index-process.rst
M docs/devel/index-tcg.rst
M docs/devel/index.rst
M docs/devel/qtest.rst
Log Message:
-----------
docs/devel: drop :hidden: and :includehidden: tags
This was confusing and in the case of qtest was hiding the details of
the qgraph sub-document in the qtest pages.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-4-alex.bennee@linaro.org>
Commit: 42ae4b0ef4029b87650a6602d67c954e19e2e59f
https://github.com/qemu/qemu/commit/42ae4b0ef4029b87650a6602d67c954e19e2e59f
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M tests/docker/Makefile.include
Log Message:
-----------
tests/docker: remove dead code for linux-user containers
debian-powerpc-user-cross was the only linux-user powered cross builder
and it was removed in commit 80394ccf21 ("tests/docker: remove
debian-powerpc-user-cross", 2019-09-26). Remove all the infrastructure
around it since it is now unused.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220401141326.1244422-2-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-5-alex.bennee@linaro.org>
Commit: 28766b9eb4c054c8fb02eabbfdd417239e413567
https://github.com/qemu/qemu/commit/28766b9eb4c054c8fb02eabbfdd417239e413567
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M tests/docker/Makefile.include
R tests/docker/dockerfiles/empty.docker
Log Message:
-----------
tests/docker: remove test targets
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220401141326.1244422-3-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-6-alex.bennee@linaro.org>
Commit: 681b685571975ea00b8fd8055106dd8241355061
https://github.com/qemu/qemu/commit/681b685571975ea00b8fd8055106dd8241355061
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M tests/docker/Makefile.include
Log Message:
-----------
tests/docker: remove dead variable
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220401141326.1244422-4-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-7-alex.bennee@linaro.org>
Commit: 1d64909543e80745e976c059195952df7c748c94
https://github.com/qemu/qemu/commit/1d64909543e80745e976c059195952df7c748c94
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M tests/docker/Makefile.include
Log Message:
-----------
tests/docker: remove unnecessary default definitions
The definition of DOCKER_IMAGES and DOCKER_TESTS copes already with an
empty value of $(IMAGES) and $(TESTS), no need to force them to "%" if
undefined.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220401141326.1244422-5-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-8-alex.bennee@linaro.org>
Commit: 79bd3ae9d39fcead07938f473caf0dfd9760bd21
https://github.com/qemu/qemu/commit/79bd3ae9d39fcead07938f473caf0dfd9760bd21
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M tests/docker/Makefile.include
Log Message:
-----------
tests/docker: inline variable definitions or move close to use
Variables that are defined with ":=" are handled imperatively, so moving
them closer to the first use ensures that all the assignments prior to
the first use are taken into account.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220401141326.1244422-6-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-9-alex.bennee@linaro.org>
Commit: bbb5ba8633f9efab7c0fcc40b93310f3697019ec
https://github.com/qemu/qemu/commit/bbb5ba8633f9efab7c0fcc40b93310f3697019ec
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M tests/docker/Makefile.include
Log Message:
-----------
tests/docker: remove unnecessary filtering of $(DOCKER_IMAGES)
Now that DOCKER_IMAGES is only defined after DOCKER_VIRTUAL_IMAGES is
complete, there is no need to re-filter DOCKER_IMAGES against it.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220401141326.1244422-7-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-10-alex.bennee@linaro.org>
Commit: d39eaa2266f738c10e63cb3d73983cfc4c8fc69b
https://github.com/qemu/qemu/commit/d39eaa2266f738c10e63cb3d73983cfc4c8fc69b
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M tests/docker/Makefile.include
Log Message:
-----------
tests/docker: simplify docker-TEST@IMAGE targets
No need to go through the shell when we already have the test and images at
the point where the targets are declared.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220401141326.1244422-8-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-11-alex.bennee@linaro.org>
Commit: 426045aed8bbc49ead42ef15dce252a75bf797da
https://github.com/qemu/qemu/commit/426045aed8bbc49ead42ef15dce252a75bf797da
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M tests/docker/Makefile.include
A tests/docker/dockerfiles/debian-hexagon-cross.d/build-toolchain.sh
R tests/docker/dockerfiles/debian-hexagon-cross.docker.d/build-toolchain.sh
Log Message:
-----------
tests/docker: do not duplicate rules for hexagon-cross
The commands for docker-image-debian-hexagon-cross are the same as those
in debian-toolchain-run, just with a nonstandard path to build-toolchain.sh.
Reuse the definition by renaming the debian-hexagon-cross.docker.d directory.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220401141326.1244422-9-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-12-alex.bennee@linaro.org>
Commit: f084839aba566b4a5199c461df4ba93b0e43580a
https://github.com/qemu/qemu/commit/f084839aba566b4a5199c461df4ba93b0e43580a
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M tests/tcg/aarch64/Makefile.softmmu-target
M tests/tcg/aarch64/Makefile.target
M tests/tcg/configure.sh
M tests/tcg/i386/Makefile.target
M tests/tcg/ppc64/Makefile.target
M tests/tcg/ppc64le/Makefile.target
Log Message:
-----------
tests/tcg: add compiler test variables when using containers
Even for container-based cross compilation use $(CROSS_CC_HAS_*) variables.
This makes the TCG test makefiles oblivious of whether the compiler is
invoked through a container or not.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220401141326.1244422-10-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-13-alex.bennee@linaro.org>
Commit: 3996dab2beadecd5cf57a7b2515f88e572b7fbd5
https://github.com/qemu/qemu/commit/3996dab2beadecd5cf57a7b2515f88e572b7fbd5
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M tests/tcg/configure.sh
M tests/tcg/multiarch/Makefile.target
M tests/tcg/x86_64/Makefile.target
Log Message:
-----------
tests/tcg: remove CONFIG_LINUX_USER from config-target.mak
Just check the target name instead.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220401141326.1244422-11-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-14-alex.bennee@linaro.org>
Commit: 8e61ecca4a4934d1cefc83243114f1457930437b
https://github.com/qemu/qemu/commit/8e61ecca4a4934d1cefc83243114f1457930437b
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M tests/tcg/Makefile.target
M tests/tcg/configure.sh
Log Message:
-----------
tests/tcg: remove CONFIG_USER_ONLY from config-target.mak
Just check the target name instead.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220401141326.1244422-12-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-15-alex.bennee@linaro.org>
Commit: f2d59351452a3f92b33eebbbf1ad6fae8bb7fdca
https://github.com/qemu/qemu/commit/f2d59351452a3f92b33eebbbf1ad6fae8bb7fdca
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M tests/Makefile.include
R tests/tcg/Makefile.prereqs
M tests/tcg/configure.sh
Log Message:
-----------
tests/tcg: prepare Makefile.prereqs at configure time
List the dependencies of the build-tcg-tests-* and run-tcg-tests-*
targets in a Makefile fragment, without going through Makefile.prereqs's
"parsing" of config-*.mak.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220401141326.1244422-13-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-16-alex.bennee@linaro.org>
Commit: 5377a1000192ddfdb45d06877df7455009579f52
https://github.com/qemu/qemu/commit/5377a1000192ddfdb45d06877df7455009579f52
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M tests/Makefile.include
M tests/tcg/Makefile.qemu
M tests/tcg/configure.sh
Log Message:
-----------
tests/tcg: list test targets in Makefile.prereqs
Omit the rules altogether for targets that do not have a compiler.
Makefile.qemu now is only invoked if the tests are actually built/run.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220401141326.1244422-14-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-17-alex.bennee@linaro.org>
Commit: eebf199c09a250fc2e8ad2098b2687857569d9b3
https://github.com/qemu/qemu/commit/eebf199c09a250fc2e8ad2098b2687857569d9b3
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M tests/Makefile.include
R tests/tcg/Makefile.qemu
M tests/tcg/Makefile.target
M tests/tcg/configure.sh
Log Message:
-----------
tests/tcg: invoke Makefile.target directly from QEMU's makefile
Build the "docker.py cc" invocation directly in tests/tcg/configure.sh, and
remove the Makefile.qemu wrapper around Makefile.target. The config-*.mak
files now include the actual variables used when building the tests, rather
than the CROSS_* variables that Makefile.qemu used to "translate".
This is a first step towards generalizing the cross-compilation infrastructure
so that it can be used for firmware as well.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220401141326.1244422-15-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-18-alex.bennee@linaro.org>
Commit: 544f4a2578f0e8d0269383950499b2dc291f9fcf
https://github.com/qemu/qemu/commit/544f4a2578f0e8d0269383950499b2dc291f9fcf
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M configure
M tests/tcg/Makefile.target
M tests/tcg/configure.sh
Log Message:
-----------
tests/tcg: isolate from QEMU's config-host.mak
Do not include variables for the QEMU's own compiler, as they
are not necessarily related to the cross compiler used for tests/tcg.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220401141326.1244422-16-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-19-alex.bennee@linaro.org>
Commit: 77162849a6313083d493171826978ff58a53240a
https://github.com/qemu/qemu/commit/77162849a6313083d493171826978ff58a53240a
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M tests/docker/Makefile.include
M tests/docker/docker.py
Log Message:
-----------
tests/docker: remove SKIP_DOCKER_BUILD
It is now unused.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220401141326.1244422-17-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-20-alex.bennee@linaro.org>
Commit: a5ed13cd31aefdf351b25635457b4b0fdeb74b3b
https://github.com/qemu/qemu/commit/a5ed13cd31aefdf351b25635457b4b0fdeb74b3b
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M tests/tcg/configure.sh
Log Message:
-----------
tests/tcg: fix non-static build
If linking with -static fails at configure time, -static should not be used
at build time either. Do not include BUILD_STATIC in $config_target_mak.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220401141326.1244422-18-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-21-alex.bennee@linaro.org>
Commit: 9730a27ef43d676807b8a0e84f2eff8124125902
https://github.com/qemu/qemu/commit/9730a27ef43d676807b8a0e84f2eff8124125902
Author: Alex Bennée <alex.bennee@linaro.org>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M tests/tcg/x86_64/Makefile.target
Log Message:
-----------
tests/tcg: remove duplicate sha512-sse case
We already generate the sha512-sse case in the i386 makefile which
works for both i386 and x86_64.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Fixes: f8a4c6d728 ("tests/tcg: add vectorised sha512 versions")
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-22-alex.bennee@linaro.org>
Commit: 2931014c3ddd87b0dcb98788b5d50abee775bcea
https://github.com/qemu/qemu/commit/2931014c3ddd87b0dcb98788b5d50abee775bcea
Author: Alex Bennée <alex.bennee@linaro.org>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
A tests/tcg/aarch64/float_convd.ref
A tests/tcg/arm/float_convd.ref
A tests/tcg/i386/float_convd.conf
A tests/tcg/multiarch/float_convd.c
A tests/tcg/x86_64/float_convd.ref
Log Message:
-----------
tests/tcg: add float_convd test
This is a simple transliteration of the float_convs test but this time
working with doubles. I'm used it to test the handling of vector
registers in gdbstub but wasn't able to find a non-ugly way to
automate it.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-23-alex.bennee@linaro.org>
Commit: f9caa8feea9d5acd1a6dc02b626f82a149b4b94e
https://github.com/qemu/qemu/commit/f9caa8feea9d5acd1a6dc02b626f82a149b4b94e
Author: Alex Bennée <alex.bennee@linaro.org>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
A tests/tcg/i386/float_convs.ref
A tests/tcg/x86_64/float_convs.ref
Log Message:
-----------
tests/tcg: add missing reference files for float_convs
We might as well include a reference file for i386/x86_64. I was going
to include s390x as well but it's broken hence I raised:
https://gitlab.com/qemu-project/qemu/-/issues/979.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220419091020.3008144-24-alex.bennee@linaro.org>
Commit: e618e1f9b4cbb3803bbe70fae30a0fa4960f384d
https://github.com/qemu/qemu/commit/e618e1f9b4cbb3803bbe70fae30a0fa4960f384d
Author: Alex Bennée <alex.bennee@linaro.org>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M target/i386/gdbstub.c
Log Message:
-----------
target/i386: fix byte swap issue with XMM register access
During the conversion to the gdb_get_reg128 helpers the high and low
parts of the XMM register where inadvertently swapped. This causes
reads of the register to report the incorrect value to gdb.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/971
Fixes: b7b8756a9c (target/i386: use gdb_get_reg helpers)
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Cc: qemu-stable@nongnu.org
Message-Id: <20220419091020.3008144-25-alex.bennee@linaro.org>
Commit: caccf599181e2ea5f236345de9d9957a4c23e5ec
https://github.com/qemu/qemu/commit/caccf599181e2ea5f236345de9d9957a4c23e5ec
Author: Alex Bennée <alex.bennee@linaro.org>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M tests/guest-debug/run-test.py
Log Message:
-----------
tests/guest-debug: better handle gdb crashes
There are a number of GDB's on various distros which fail fairly hard
when attempting to talk to a cross-arch guest. The previous attempt to
catch this was incorrect as the shell will deliver signals as 128+n.
Fix the detection and while we are it improve the logging we dump into
the test output.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reported-by: Gautam Agrawal <gautamnagrawal@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-26-alex.bennee@linaro.org>
Commit: 2d20a57453f6a206938cbbf77bed0b378c806c1f
https://github.com/qemu/qemu/commit/2d20a57453f6a206938cbbf77bed0b378c806c1f
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M MAINTAINERS
M configure
M docs/devel/index-api.rst
M docs/devel/index-build.rst
M docs/devel/index-internals.rst
M docs/devel/index-process.rst
M docs/devel/index-tcg.rst
M docs/devel/index.rst
M docs/devel/qtest.rst
M docs/devel/testing.rst
M target/i386/gdbstub.c
M tests/Makefile.include
M tests/avocado/boot_linux_console.py
A tests/avocado/machine_aarch64_virt.py
M tests/docker/Makefile.include
M tests/docker/docker.py
A tests/docker/dockerfiles/debian-hexagon-cross.d/build-toolchain.sh
R tests/docker/dockerfiles/debian-hexagon-cross.docker.d/build-toolchain.sh
R tests/docker/dockerfiles/empty.docker
M tests/guest-debug/run-test.py
R tests/tcg/Makefile.prereqs
R tests/tcg/Makefile.qemu
M tests/tcg/Makefile.target
M tests/tcg/aarch64/Makefile.softmmu-target
M tests/tcg/aarch64/Makefile.target
A tests/tcg/aarch64/float_convd.ref
A tests/tcg/arm/float_convd.ref
M tests/tcg/configure.sh
M tests/tcg/i386/Makefile.target
A tests/tcg/i386/float_convd.conf
A tests/tcg/i386/float_convs.ref
M tests/tcg/multiarch/Makefile.target
A tests/tcg/multiarch/float_convd.c
M tests/tcg/ppc64/Makefile.target
M tests/tcg/ppc64le/Makefile.target
M tests/tcg/x86_64/Makefile.target
A tests/tcg/x86_64/float_convd.ref
A tests/tcg/x86_64/float_convs.ref
Log Message:
-----------
Merge tag 'pull-fixes-for-7.1-200422-1' of https://github.com/stsquad/qemu
into staging
Testing, docs and gdbstub updates:
- make -M virt test exercise -cpu max
- document how binfmt_misc docker works
- clean-up the devel TOC generation
- clean-up check-tcg cross-compile behaviour
- fix byte swap error in xmm gdbstub access
- add float_convd test with reference files
- more reference files for float_convs
- more cleanly handle gdb crashing during check-tcg
# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmJgIgsACgkQ+9DbCVqe
# KkRs3Qf/WnL4YV3l8jO/wEVbls/57aLPk+ak1GuvXJ+iM9gH8Qz6WZxIJIEhhHlu
# ZEixCewahTn8POMMRo4JAr0bRgtfBuh717GerXObiHcS3OuLsGM8rYP2Z1xqKL3L
# 4pR8VqhyUq/Jyl/6MPN5OZB0AdEPIdI5MuflckCeDcFaowpthLjwHao07hG/FU0s
# wQYS7aYTZT33V2Xm6xlePEEMq8YMPCJj00HF3Ljg4eUOmb+C+csFXMQtotsBJRCg
# mC/T2U0IFbrQUkkWJqVmRCPwKraQGDMn6POk298siRWE0kV4BmH8mnmN+/Jxhqgl
# QfFhQrsBxmPPG5TfQhEmlHfQ5EARLQ==
# =8q12
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 20 Apr 2022 08:08:59 AM PDT
# gpg: using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key)
<alex.bennee@linaro.org>" [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: 6685 AE99 E751 67BC AFC8 DF35 FBD0 DB09 5A9E 2A44
* tag 'pull-fixes-for-7.1-200422-1' of https://github.com/stsquad/qemu: (25
commits)
tests/guest-debug: better handle gdb crashes
target/i386: fix byte swap issue with XMM register access
tests/tcg: add missing reference files for float_convs
tests/tcg: add float_convd test
tests/tcg: remove duplicate sha512-sse case
tests/tcg: fix non-static build
tests/docker: remove SKIP_DOCKER_BUILD
tests/tcg: isolate from QEMU's config-host.mak
tests/tcg: invoke Makefile.target directly from QEMU's makefile
tests/tcg: list test targets in Makefile.prereqs
tests/tcg: prepare Makefile.prereqs at configure time
tests/tcg: remove CONFIG_USER_ONLY from config-target.mak
tests/tcg: remove CONFIG_LINUX_USER from config-target.mak
tests/tcg: add compiler test variables when using containers
tests/docker: do not duplicate rules for hexagon-cross
tests/docker: simplify docker-TEST@IMAGE targets
tests/docker: remove unnecessary filtering of $(DOCKER_IMAGES)
tests/docker: inline variable definitions or move close to use
tests/docker: remove unnecessary default definitions
tests/docker: remove dead variable
...
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Compare: https://github.com/qemu/qemu/compare/40a4b96eb08b...2d20a57453f6