xl: Don't warn on using 'deprecated' mode selection
authorGeorge Dunlap <george.dunlap@citrix.com>
Mon, 8 Jan 2018 15:50:53 +0000 (15:50 +0000)
committerGeorge Dunlap <george.dunlap@citrix.com>
Thu, 25 Jan 2018 17:59:05 +0000 (17:59 +0000)
We generally support old config formats indefinintely (see the disk
format) without emitting warnings.

Signed-off-by: George Dunlap <george.dunlap@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/xl/xl_parse.c

index fdfe693de16a7534e013376777cef369d6ceaa41..f6842540ca11872bbda6db1efe6f22418d964b68 100644 (file)
@@ -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)))