]> xenbits.xensource.com Git - xen.git/commitdiff
xl: Don't warn on using 'deprecated' mode selection
authorGeorge Dunlap <george.dunlap@citrix.com>
Tue, 9 Jan 2018 15:32:49 +0000 (15:32 +0000)
committerRoger Pau Monne <roger.pau@citrix.com>
Fri, 12 Jan 2018 17:56:48 +0000 (17:56 +0000)
We generally support old config formats indefinintely (see the disk
format) without emitting warnings.

Signed-off-by: George Dunlap <george.dunlap@citrix.com>
Ported over xl_cmdimpl.c -> xl_parse.c movement

tools/libxl/xl_cmdimpl.c

index c2e6952fd211c695cf8f83169d6463d62aa20795..1bca1286d07688d9696fcf2ee79189e59516f3a8 100644 (file)
@@ -1385,9 +1385,6 @@ static 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)))