On Wed, Nov 1, 2023 at 6:41 AM Juergen Gross <[email protected]> wrote:
>
> Add support for the new 9pfs backend "xenlogd". For this backend type
> the tag defaults to "Xen" and the host side path to
> "/var/log/xen/guests/<dom-name>".
>
> Signed-off-by: Juergen Gross <[email protected]>
> diff --git a/tools/xl/xl_parse.c b/tools/xl/xl_parse.c
> index ed983200c3..346532e117 100644
> --- a/tools/xl/xl_parse.c
> +++ b/tools/xl/xl_parse.c
> @@ -2242,6 +2256,27 @@ void parse_config_data(const char *config_source,
>
> libxl_string_list_dispose(&pairs);
>
> + if (p9->type == LIBXL_P9_TYPE_UNKNOWN) {
> + p9->type = LIBXL_P9_TYPE_QEMU;
> + }
> + if (p9->type == LIBXL_P9_TYPE_QEMU &&
> + (p9->max_space || p9->auto_delete)) {
Also check p9->max_open_files and p9->max_files?
Regards,
Jason