On Thu, Oct 03, 2019 at 10:48:46AM -0700, Mauricio Galindo wrote:
> Hi,
> 
> I'm running QEMU in user mode and I'm running into issues when trying
> to exec binaries within the emulated process given that binaries are
> expected to run in the native architecture. Would it be useful to have
> an option to rewrite execve(/bin/some_binary, ...) to
> execve(qemu-$arch-static, [/bin/some_binary, ...], ...)?
> 

This is handled in kernel by binfmt-misc.

Debian has nice packaging for the required configuration. They use it to
create non-native installation images.

HTH

Michal

Reply via email to