Re: [PATCH 08/10] hw/9pfs: Allow using hw/9pfs with emscripten

2025-04-12 Thread Christian Schoenebeck
On Saturday, April 12, 2025 10:21:47 AM CEST Christian Schoenebeck wrote: > On Friday, April 11, 2025 12:47:29 PM CEST Kohei Tokunaga wrote: > > Hi Christian, > > > > > > Emscripten's fiber does not support submitting coroutines to other > > > > threads. So this commit modifies hw/9pfs/coth.h to d

Re: [PATCH 08/10] hw/9pfs: Allow using hw/9pfs with emscripten

2025-04-12 Thread Christian Schoenebeck
On Friday, April 11, 2025 12:47:29 PM CEST Kohei Tokunaga wrote: > Hi Christian, > > > > Emscripten's fiber does not support submitting coroutines to other > > > threads. So this commit modifies hw/9pfs/coth.h to disable this behavior > > > when compiled with Emscripten. > > > > The lack of being

[PATCH for-10.0] docs: Fix some typos (found by codespell and typos)

2025-04-12 Thread Stefan Weil via
Signed-off-by: Stefan Weil --- docs/about/deprecated.rst | 4 ++-- docs/devel/codebase.rst| 6 +++--- docs/devel/qapi-domain.rst | 4 ++-- include/exec/memory.h | 4 ++-- qapi/qdev.json | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/about/depre

[PATCH] Fix objdump output parser in "nsis.py"

2025-04-12 Thread Arthur Sengileyev
In msys2 distribution objdump from gcc is using single tab character prefix, but objdump from clang is using 4 white space characters instead. The script will not identify any dll dependencies for a QEMU build generated with clang. This in turn will fail the build, because there will be no files in

Re: [PATCH for-10.0] Fix objdump output parser in "nsis.py"

2025-04-12 Thread Stefan Weil via
Am 12.04.25 um 20:08 schrieb Arthur Sengileyev: In msys2 distribution objdump from gcc is using single tab character prefix, but objdump from clang is using 4 white space characters instead. The script will not identify any dll dependencies for a QEMU build generated with clang. This in turn wil

target/mips: Fix MIPS16e translation

2025-04-12 Thread Hauke Mehrtens
Fix a wrong conversion to gen_op_addr_addi(). The framesize should be added like it was done before. This bug broke booting OpenWrt MIPS32 BE malta Linux system images generated by OpenWrt. Fixes: d0b24b7f50e1 ("target/mips: Use gen_op_addr_addi() when possible") Cc: qemu-sta...@nongnu.org Signed

Re: [PATCH 1/2] hw: usb: xhci: Add property to support writing ERSTBA in high-low order

2025-04-12 Thread Guenter Roeck
On 4/11/25 00:40, Nicholas Piggin wrote: On Sun Apr 6, 2025 at 12:00 AM AEST, Guenter Roeck wrote: According to the XHCI specification, ERSTBA should be written in Low-High order. The Linux kernel writes the high word first. This results in an initialization failure. This should probably be re

Re: [PATCH 1/2] system/main: transfer replay mutex ownership from main thread to main loop thread

2025-04-12 Thread Pierrick Bouvier
On 4/11/25 22:30, Nicholas Piggin wrote: On Fri Apr 11, 2025 at 8:55 AM AEST, Pierrick Bouvier wrote: On MacOS, UI event loop has to be ran in the main thread of a process. Because of that restriction, on this platform, qemu main event loop is ran on another thread [1]. This breaks record/repla

[PATCH for-10.0] docs: Document removal of 64-bit on 32-bit emulation

2025-04-12 Thread Richard Henderson
With acce728cbc6c we disallowed configuring 64-bit guests on 32-bit hosts, but forgot to document that in removed-features. Signed-off-by: Richard Henderson --- docs/about/removed-features.rst | 9 + 1 file changed, 9 insertions(+) diff --git a/docs/about/removed-features.rst b/docs/abo

Re: [PATCH 0/4] target/arm: fix arm_cpu_get_phys_page_attrs_debug

2025-04-12 Thread Richard Henderson
On 4/10/25 14:00, Pierrick Bouvier wrote: Pierrick Bouvier (4): target/arm/ptw: extract arm_mmu_idx_to_security_space target/arm/ptw: get current security_space for current mmu_idx target/arm/ptw: extract arm_cpu_get_phys_page target/arm/ptw: fix arm_cpu_get_phys_page_attrs_debug Re

Re: [PATCH 07/10] tcg: Add a TCG backend for WebAssembly

2025-04-12 Thread Kohei Tokunaga
Hi Philippe, thank you for the feedback. > > diff --git a/tcg/tcg.c b/tcg/tcg.c > > index dfd48b8264..154a4dafa7 100644 > > --- a/tcg/tcg.c > > +++ b/tcg/tcg.c > > @@ -136,6 +136,10 @@ static void tcg_out_goto_tb(TCGContext *s, int which); > > static void tcg_out_op(TCGContext *s, TCGOpcode opc,

Re: [PATCH 07/10] tcg: Add a TCG backend for WebAssembly

2025-04-12 Thread Kohei Tokunaga
Hi Philippe, let me resend the table as it was corrupted in the last mail. A: !defined(CONFIG_TCG_INTERPRETER) B: !defined(EMSCRIPTEN) | A | B | && | || | --+---+---+++ non-emcc + TCI| F | T | F | T | non-emcc + non-TCI| T | T | T | T | emcc + TCI

Re: [PATCH 08/10] hw/9pfs: Allow using hw/9pfs with emscripten

2025-04-12 Thread Christian Schoenebeck
On Saturday, April 12, 2025 12:21:47 PM CEST Christian Schoenebeck wrote: > On Saturday, April 12, 2025 10:21:47 AM CEST Christian Schoenebeck wrote: > > On Friday, April 11, 2025 12:47:29 PM CEST Kohei Tokunaga wrote: [...] > Let my answer my own question: I just checked the wasi sources. The errn