blob: 505c58c28f48f87f6f4c982a9ce154d49524bc30 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<think>
Alright, so I'm trying to figure out whether this QEMU bug is user-mode or system-mode related. The issue is that when the user runs `qemu-system-aarch64` with `-serial stdio`, they get an error saying it can't use stdio by multiple character devices and couldn't connect the serial device.
Hmm, QEMU uses different modes: user-mode emulates just a CPU without hardware, while system-mode includes full system emulation including peripherals. The `-serial` option relates to serial devices which are part of the system's I/O configuration. Since this is about connecting a serial device, it sounds like system-mode because it involves device management and I/O handling, which require higher privileges.
Also, the error message mentions character backend 'stdio', suggesting it's trying to set up a device connection. That fits with system emulation where devices are connected. If it were user-mode, maybe it wouldn't involve such device setup as intensively.
So putting it together, this bug seems related to how QEMU handles system devices in system-mode.
</think>
The issue involves connecting a serial device using `-serial stdio`, which relates to device management and I/O configuration typical in system-mode emulation. Therefore:
system
|