diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-05-21 21:21:26 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-05-21 21:21:26 +0200 |
| commit | 4b927bc37359dec23f67d3427fc982945f24f404 (patch) | |
| tree | 245449ef9146942dc7fffd0235b48b7e70a00bf2 /gitlab/issues/target_missing/host_missing/accel_missing/1302.toml | |
| parent | aa8bd79cec7bf6790ddb01d156c2ef2201abbaab (diff) | |
| download | qemu-analysis-4b927bc37359dec23f67d3427fc982945f24f404.tar.gz qemu-analysis-4b927bc37359dec23f67d3427fc982945f24f404.zip | |
add gitlab issues in toml format
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/1302.toml')
| -rw-r--r-- | gitlab/issues/target_missing/host_missing/accel_missing/1302.toml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/1302.toml b/gitlab/issues/target_missing/host_missing/accel_missing/1302.toml new file mode 100644 index 000000000..f8c9e22b8 --- /dev/null +++ b/gitlab/issues/target_missing/host_missing/accel_missing/1302.toml @@ -0,0 +1,25 @@ +id = 1302 +title = "Per-thread logging flag must be made immutable" +state = "closed" +created_at = "2022-11-07T12:30:06.554Z" +closed_at = "2022-11-08T16:37:08.335Z" +labels = ["kind::Bug"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/1302" +host-os = "Fedora 35" +host-arch = "x86" +qemu-version = "QEMU emulator version 7.1.50 (v7.1.0-1678-g466e81ff1201)" +guest-os = "n/a" +guest-arch = "n/a" +description = """The problem is that the code assumes it isn't possible to switch from global logging to per-thread logging and vice-versa per design, but it lags appropriate checks to enforce it. Enabling or disabling per-thread logging at runtime from the monitor causes unexpected results.""" +reproduce = """Enabling per-thread logging at runtime: + +1. Start QEMU : `./qemu-system-x86_64 -S -monitor stdio -D qemu.log.%d` +2. Enable per-thread logging from the HMP monitor : `(qemu) log tid` +3. Fails with `Filename template with '%d' required for 'tid'` even though such a template was passed with `-D`. + +Disabling per-thread logging at runtime: + +1. Start QEMU : `./qemu-system-x86_64 -S -monitor stdio -D qemu.log.%d -d tid,cpu_reset` +2. Disable per-thread logging from the HMP monitor: `(qemu) log cpu_reset` +3. QEMU creates a log file with a bogus `qemu.log.%d` name.""" +additional = """[Series](https://patchew.org/QEMU/20221104120059.678470-1-groug@kaod.org/) posted and already reviewed by @rth7680 .""" |