summaryrefslogtreecommitdiffstats
path: root/util/main-loop.c
diff options
context:
space:
mode:
authorWei Yang2019-07-16 09:21:27 +0200
committerPaolo Bonzini2019-07-16 09:27:16 +0200
commit45d8bc3adedeceaf449d758aee1810bfbe6feff4 (patch)
treece75e56b8eb77e76bc0afea571f5b33ca781c2c3 /util/main-loop.c
parentcreate_config: remove $(CONFIG_SOFTMMU) hack (diff)
downloadqemu-45d8bc3adedeceaf449d758aee1810bfbe6feff4.tar.gz
qemu-45d8bc3adedeceaf449d758aee1810bfbe6feff4.tar.xz
qemu-45d8bc3adedeceaf449d758aee1810bfbe6feff4.zip
vl: make sure char-pty message displayed by moving setbuf to the beginning
Recently we found a behavior change after commit 6ade45f2ac93611 ('char-pty: Print "char device redirected" message to stdout'). When we redirect output to a file, the message "char device redirected to PTY_NAME (label LABEL)" would not be seen at the beginning of the file. Instead, the message is displayed after QEMU quit. This will block test automation. The reason is this message is printed after we set line buffer mode. So move this to the beginning. Signed-off-by: Wei Yang <richardw.yang@linux.intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/main-loop.c')
0 files changed, 0 insertions, 0 deletions