xl: Don't warn on using 'deprecated' mode selection
PATCH 1/1 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 <[email protected]>
---
This is a candidate to backport to 4.10.
CC Ian Jackson <[email protected]>
CC Wei Liu <[email protected]>
CC Roger Pau Monne <[email protected]>
CC Jan Beulich <[email protected]>
--- tools/xl/xl_parse.c | 3 --- 1 file changed, 3 deletions(-)
tools/xl/xl_parse.c +0 -3
@@ -869,9 +869,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)))
Signature · 7 lines
2.15.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
George Dunlap writes ("[PATCH] xl: Don't warn on using 'deprecated' mode selection"):
Quoted 2 lines
We generally support old config formats indefinintely (see the disk format) without emitting warnings.
Acked-by Ian Jackson <[email protected]>
Quoted 1 line
This is a candidate to backport to 4.10.
I agree.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel