qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH for 6.2 20/49] bsd-user: save the path the qemu emulator


From: Richard Henderson
Subject: Re: [PATCH for 6.2 20/49] bsd-user: save the path the qemu emulator
Date: Sat, 7 Aug 2021 19:24:43 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

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 <sson@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
---
  bsd-user/main.c | 21 +++++++++++++++++++++
  bsd-user/qemu.h |  1 +
  2 files changed, 22 insertions(+)

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

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

Maybe better with sizeof?


r~



reply via email to

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