From 60efd677311e98041e1ade7c85aa9cd6cab3197c Mon Sep 17 00:00:00 2001 From: George Dunlap Date: Tue, 9 Jan 2018 15:32:49 +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 Ported over xl_cmdimpl.c -> xl_parse.c movement --- tools/libxl/xl_cmdimpl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index c2e6952fd2..1bca1286d0 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -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))) -- 2.39.5