On 8/7/21 11:42 AM, Warner Losh wrote:
Save the path to the qemu emulator. This will be used later when we have
a more complete implementation of exec.

Signed-off-by: Stacey Son <s...@freebsd.org>
Signed-off-by: Warner Losh <i...@bsdimp.com>
---
  bsd-user/main.c | 21 +++++++++++++++++++++
  bsd-user/qemu.h |  1 +
  2 files changed, 22 insertions(+)

Acked-by: Richard Henderson <richard.hender...@linaro.org>

+char qemu_proc_pathname[PATH_MAX];  /* full path to exeutable */
...
+    len = PATH_MAX;

Maybe better with sizeof?


r~

Reply via email to