On 2/3/25 09:25, Philippe Mathieu-Daudé wrote:
Hi Richard,

On 3/2/25 04:18, Richard Henderson wrote:
Hack around mips32 host allowing kvm acceleration
of mips64 guest, but tcg is disabled.

We have in target/mips/meson.build:

if 'CONFIG_TCG' in config_all_accel
   subdir('tcg')
endif

What is the problem you are trying to address here?

That test is for CONFIG_TCG enabled for *any* target (config_all_accel).

E.g. qemu-system-mips on mipsel host has TCG enabled.

+mips_ss.add(when: 'CONFIG_TCG', if_true: files(

This test is for CONFIG_TCG enabled for a specific target (config_target).

E.g. qemu-system-mips64 on mipsel host does not have TCG enabled.
But it does have kvm enabled, so the target isn't entirely disabled.

Paolo's reply to the cover suggests this usage might be killable as well, so that we require a mips64el host to spawn mips64el guests, and all of this goes away.


r~

Reply via email to