summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/1989.toml
blob: 8b89c0c22a51130a4cd0546f1409d7cedcee265d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
id = 1989
title = "Regression: by default qemu opens both vnc and stdout console"
state = "closed"
created_at = "2023-11-20T15:04:34.447Z"
closed_at = "2023-11-21T15:12:23.854Z"
labels = ["Regression", "workflow::Patch available"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/1989"
host-os = "Fedora 34"
host-arch = "x86_64"
qemu-version = "QEMU emulator version 8.1.50 (v8.1.0-2957-g462ad017ed)"
guest-os = "Fedora 38"
guest-arch = "x86_64"
description = """Running qemu with a vnc display (by default I'm not using the -display option) and -monitor stdio,
it fails because the display also wants the std output (it fails even if a pass the -vnc option).
If I remove the monitor I have both the vnc and the std output console at the same time.
I was able to use `-monitor stdio`, passing `-serial telent:...`"""
reproduce = """1. ./configure --enable-slirp --target-list=x86_64-softmmu --disable-user --disable-docs
2. make -j 4
3. qemu-system-x86_64 ... (without `-display` as shown above)"""
additional = """After bisecting I found the following commit changed the behavior:

```
commit 1bec1cc0da497e55c16e2a7b50f94cdb2a02197f
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date:   Tue Sep 5 23:18:08 2023 +0400

    ui/console: allow to override the default VC

    If a display is backed by a specialized VC, allow to override the
    default "vc:80Cx24C".

    As suggested by Paolo, if the display doesn't implement a VC (get_vc()
    returns NULL), use a fallback that will use a muxed console on stdio.

    This changes the behaviour of "qemu -display none", to create a muxed
    serial/monitor by default (on TTY & not daemonized).

    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Reviewed-by: Thomas Huth <thuth@redhat.com>
```"""