From: George Dunlap Date: Mon, 8 Jan 2018 15:50:53 +0000 (+0000) Subject: xl: Don't warn on using 'deprecated' mode selection X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~689 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bb5400b20a0c2c2dce114075b09063038ad373db;p=xen.git 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 --- 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)))