Re: QEMU user mode execve

2019-10-03 Thread Warner Losh
On Thu, Oct 3, 2019 at 1:36 PM Michal Suchánek wrote: > 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

Re: QEMU user mode execve

2019-10-03 Thread Michal Suchánek
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 opt

QEMU user mode execve

2019-10-03 Thread Mauricio Galindo
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, [/bi

QEMU user mode execve

2019-10-03 Thread Mauricio Galindo
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, [/bi