qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 10/43] bsd-user: implement path searching


From: Richard Henderson
Subject: Re: [PATCH v3 10/43] bsd-user: implement path searching
Date: Sun, 5 Sep 2021 12:11:49 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 9/3/21 1:46 AM, imp@bsdimp.com wrote:
From: Warner Losh<imp@bsdimp.com>

Use the PATH to find the executable given a bare argument. We need to do
this so we can implement mixing native and emulated binaries (e.g.,
execing a x86 native binary from an emulated arm binary to optimize
parts of the build). By finding the binary, we will know how to exec it.

Signed-off-by: Stacey Son<sson@FreeBSD.org>
Signed-off-by: Warner Losh<imp@bsdimp.com>
---
  bsd-user/bsdload.c | 36 +++++++++++++++++++++++++++++++++++-
  bsd-user/qemu.h    |  3 ++-
  2 files changed, 37 insertions(+), 2 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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