aboutsummaryrefslogtreecommitdiff
path: root/scripts/tracetool/backend/log.py
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-07-21 11:47:20 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2023-09-21 19:35:19 +0300
commitb9f83298b991db28124c7e360952cc2ef24f63d6 (patch)
tree4f562616f6a9b4c75a4ef0894f80e66e801d1d05 /scripts/tracetool/backend/log.py
parent3d6251f416cc12daa01eeacf869b4998464231d6 (diff)
downloadqemu-b9f83298b991db28124c7e360952cc2ef24f63d6.zip
qemu-b9f83298b991db28124c7e360952cc2ef24f63d6.tar.gz
qemu-b9f83298b991db28124c7e360952cc2ef24f63d6.tar.bz2
hw/char/riscv_htif: Fix the console syscall on big endian hosts
Values that have been read via cpu_physical_memory_read() from the guest's memory have to be swapped in case the host endianess differs from the guest. Fixes: a6e13e31d5 ("riscv_htif: Support console output via proxy syscall") Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Message-Id: <20230721094720.902454-3-thuth@redhat.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com> (cherry picked from commit 058096f1c55ab688db7e1d6814aaefc1bcd87f7a) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'scripts/tracetool/backend/log.py')
0 files changed, 0 insertions, 0 deletions