On Fri, Jul 21, 2023 at 5:48 PM Thomas Huth <th...@redhat.com> wrote: > > 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
typo: endianness > from the guest. > > Fixes: a6e13e31d5 ("riscv_htif: Support console output via proxy syscall") > Signed-off-by: Thomas Huth <th...@redhat.com> > --- > hw/char/riscv_htif.c | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > Reviewed-by: Bin Meng <bm...@tinylab.org>