qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QEMU user mode execve


From: Michal Suchánek
Subject: Re: QEMU user mode execve
Date: Thu, 3 Oct 2019 21:32:55 +0200
User-agent: Mutt/1.10.1 (2018-07-13)

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

[Prev in Thread] Current Thread [Next in Thread]