From bb5400b20a0c2c2dce114075b09063038ad373db Mon Sep 17 00:00:00 2001 From: George Dunlap Date: Mon, 8 Jan 2018 15:50:53 +0000 Subject: [PATCH] xl: Don't warn on using 'deprecated' mode selection We generally support old config formats indefinintely (see the disk format) without emitting warnings. Signed-off-by: George Dunlap Acked-by: Ian Jackson --- tools/xl/xl_parse.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/xl/xl_parse.c b/tools/xl/xl_parse.c index fdfe693de1..f6842540ca 100644 --- a/tools/xl/xl_parse.c +++ b/tools/xl/xl_parse.c @@ -918,9 +918,6 @@ void parse_config_data(const char *config_source, if (!xlu_cfg_get_string(config, "builder", &buf, 0)) { libxl_domain_type builder_type; - if (c_info->type == LIBXL_DOMAIN_TYPE_INVALID) - fprintf(stderr, -"The \"builder\" option is being deprecated, please use \"type\" instead.\n"); if (!strncmp(buf, "hvm", strlen(buf))) builder_type = LIBXL_DOMAIN_TYPE_HVM; else if (!strncmp(buf, "generic", strlen(buf))) -- 2.30.2