On 07.11.23 17:55, Jason Andryuk wrote:
On Wed, Nov 1, 2023 at 6:41 AM Juergen Gross <jgr...@suse.com> 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 <jgr...@suse.com>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?
Ah, yes, I added those later and forgot to adapt this check. Juergen
OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature