Re: [PATCH 23/33] include/exec: Allow using 64bit guest addresses on emscripten

2025-05-21 Thread Kohei Tokunaga
Hi Paolo, > On 5/20/25 14:51, Kohei Tokunaga wrote: > > target_kconfig = [] > > foreach sym: accelerators > > -# Disallow 64-bit on 32-bit emulation and virtualization > > -if host_long_bits < config_target['TARGET_LONG_BITS'].to_int() > > - continue > > +if host_arch != '

Re: [PATCH 23/33] include/exec: Allow using 64bit guest addresses on emscripten

2025-05-20 Thread Paolo Bonzini
On 5/20/25 14:51, Kohei Tokunaga wrote: target_kconfig = [] foreach sym: accelerators -# Disallow 64-bit on 32-bit emulation and virtualization -if host_long_bits < config_target['TARGET_LONG_BITS'].to_int() - continue +if host_arch != 'wasm32' + # Disallow 64-bit on

[PATCH 23/33] include/exec: Allow using 64bit guest addresses on emscripten

2025-05-20 Thread Kohei Tokunaga
To enable 64-bit guest support in Wasm 32bit memory model today, it was necessary to partially revert recent changes that removed support for different pointer widths between the host and guest (e.g. commits a70af12addd9060fdf8f3dbd42b42e3072c3914f and bf455ec50b6fea15b4d2493059365bf94c706273) when