summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_missing/host_missing/accel_missing/2423
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-06-01 21:35:14 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-06-01 21:35:14 +0200
commit3e4c5a6261770bced301b5e74233e7866166ea5b (patch)
tree9379fddaba693ef8a045da06efee8529baa5f6f4 /gitlab/issues_text/target_missing/host_missing/accel_missing/2423
parente5634e2806195bee44407853c4bf8776f7abfa4f (diff)
downloadqemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.tar.gz
qemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.zip
clean up repository
Diffstat (limited to 'gitlab/issues_text/target_missing/host_missing/accel_missing/2423')
-rw-r--r--gitlab/issues_text/target_missing/host_missing/accel_missing/242334
1 files changed, 0 insertions, 34 deletions
diff --git a/gitlab/issues_text/target_missing/host_missing/accel_missing/2423 b/gitlab/issues_text/target_missing/host_missing/accel_missing/2423
deleted file mode 100644
index b84022dfa..000000000
--- a/gitlab/issues_text/target_missing/host_missing/accel_missing/2423
+++ /dev/null
@@ -1,34 +0,0 @@
-`qemu -serial stdio` leaves stdout in non-blocking mode
-Description of problem:
-When `-serial stdio` is used, qemu exits leaving stdout in non-blocking mode. Although it [attempts](https://gitlab.com/qemu-project/qemu/-/blob/1a2d52c7fcaeaaf4f2fe8d4d5183dccaeab67768/chardev/char-stdio.c#L52) to restore stdin to blocking mode, it misses that stdout also gets O_NONBLOCK by [qemu_chr_open_fd](https://gitlab.com/qemu-project/qemu/-/blob/1a2d52c7fcaeaaf4f2fe8d4d5183dccaeab67768/chardev/char-stdio.c#L116) ([here](https://gitlab.com/qemu-project/qemu/-/blob/1a2d52c7fcaeaaf4f2fe8d4d5183dccaeab67768/chardev/char-fd.c#L215)). It causes the next applications in the script misbehave because they get unexpected EAGAIN on write to stdout.
-Steps to reproduce:
-Run the following script:
-
-```
-#!/usr/bin/env bash
-
-qemu-system-x86_64 -nodefaults -display none -no-reboot -serial stdio &
-PID="$!"
-sleep 5
-kill "$PID"
-wait "$PID"
-echo "EXITING $?"
-
-sleep 5
-seq 1 400000
-```
-
-The seq command will be interrupted prematurely:
-
-```
-...
-5143
-5144
-5145⏎                                                                                                                                                                                                                wResource temporarily unavailable
-write: Resource temporarily unavailable
-write: Resource temporarily unavailable
-```
-
-When run from fish shell, it will also start misbehaving when running next commands (fish bug report: https://github.com/fish-shell/fish-shell/issues/10600).
-Additional information:
-Expect a patch from me soon.