diff options
author | 2024-08-13 21:23:23 +0100 | |
---|---|---|
committer | 2024-08-16 14:04:19 +0100 | |
commit | 4c193bb129dae164ce19c1197c76b59c62b405aa (patch) | |
tree | e6714660be1644932721c9e835b78828738d3002 /scripts/xml-preprocess.py | |
parent | tests/avocado: replay_kernel.py add x86-64 q35 machine test (diff) | |
download | qemu-4c193bb129dae164ce19c1197c76b59c62b405aa.tar.xz qemu-4c193bb129dae164ce19c1197c76b59c62b405aa.zip |
chardev: set record/replay on the base device of a muxed device
chardev events to a muxed device don't get recorded because e.g.,
qemu_chr_be_write() checks whether the base device has the record flag
set.
This can be seen when replaying a trace that has characters typed into
the console, an examination of the log shows they are not recorded.
Setting QEMU_CHAR_FEATURE_REPLAY on the base chardev fixes the problem.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-Id: <20240813050638.446172-8-npiggin@gmail.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240813202329.1237572-16-alex.bennee@linaro.org>
Diffstat (limited to 'scripts/xml-preprocess.py')
0 files changed, 0 insertions, 0 deletions