On 11/25/25 13:38, Moritz Haase wrote:
In order for one to use QEMU user mode emulation under a chroot, it is
required to use binfmt_misc. This can be avoided by QEMU never doing a raw
execve() to the host system, which is especially useful in environments
where binfmt_misc can't be used.

Introduce a new option, -execve, that uses the current QEMU interpreter to
intercept execve(). In addition, execve mode can also be en- and disabled
using the 'QEMU_EXECVE' env var.

FWIW, this means qemu-user binary has to be available in the chroot.
And please note the fun stuff about argv[].

Thanks,

/mjt


Reply via email to