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: Warner Losh
Subject: Re: [PATCH for 6.2 20/49] bsd-user: save the path the qemu emulator
Date: Sun, 8 Aug 2021 10:44:22 -0600



On Sat, Aug 7, 2021 at 11:24 PM Richard Henderson <richard.henderson@linaro.org> wrote:
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?

It is. Thanks! Will make the change.

Warner 

reply via email to

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