summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_missing/host_missing/accel_missing/1557
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-05-30 16:52:07 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-05-30 16:52:17 +0200
commit9260319e7411ff8281700a532caa436f40120ec4 (patch)
tree2f6bfe5f3458dd49d328d3a9eb508595450adec0 /gitlab/issues_text/target_missing/host_missing/accel_missing/1557
parent225caa38269323af1bfc2daadff5ec8bd930747f (diff)
downloadqemu-analysis-9260319e7411ff8281700a532caa436f40120ec4.tar.gz
qemu-analysis-9260319e7411ff8281700a532caa436f40120ec4.zip
gitlab scraper: download in toml and text format
Diffstat (limited to 'gitlab/issues_text/target_missing/host_missing/accel_missing/1557')
-rw-r--r--gitlab/issues_text/target_missing/host_missing/accel_missing/155711
1 files changed, 11 insertions, 0 deletions
diff --git a/gitlab/issues_text/target_missing/host_missing/accel_missing/1557 b/gitlab/issues_text/target_missing/host_missing/accel_missing/1557
new file mode 100644
index 000000000..94bfc80ee
--- /dev/null
+++ b/gitlab/issues_text/target_missing/host_missing/accel_missing/1557
@@ -0,0 +1,11 @@
+qemu-binfmt-conf.sh handles errors inconsistently
+Description of problem:
+We are installing qemu via multiarch/qemu-user-static docker image. https://github.com/multiarch/qemu-user-static
+
+What we have noticed is that because qemu-binfmt-conf.sh does not use `set -e`, its behavior with regards to failures is inconsistent. In short, registering the same thing into binfmt twice is an error (you get EEXIST). However, the exit code of qemu-binfmt-conf.sh itself seems to depend only on whether the last interpreter succeeded, leading to confusing and inconsistent results.
+Steps to reproduce:
+1. Register only qemu-arm-static interpreter with binfmt.
+2. Run qemu-binfmt-conf.sh. Observe that the exit code is zero, and logs show the duplicate interpreter was rejected.
+3. Remove all qemu interpreters.
+3. Register only qemu-loongarch64-static interpreter (currently last in qemu_target_list) with binfmt.
+3. Run qemu-binfmt-conf.sh. Observe that the exit code is non-zero, and logs show the duplicate interpreter was rejected.