]> xenbits.xensource.com Git - people/aperard/xen-unstable.git/commitdiff
tools/xl_parse: remove message for tsc mode string
authorElliott Mitchell <ehem+xen@m5p.com>
Thu, 21 Mar 2024 08:46:13 +0000 (09:46 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 21 Mar 2024 08:46:13 +0000 (09:46 +0100)
Normal behavior is to be silent.  Generating a message for the preferred
input can be mistaken for an error.  As such remove this message to match
other conditions.

Signed-off-by: Elliott Mitchell <ehem+xen@m5p.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
tools/xl/xl_parse.c

index 80ffe85f5e3521fc17a41b0694bd4fbdfe7548e9..ab09d0288b8dbed182cc0f27d39b4a629b08e094 100644 (file)
@@ -1660,7 +1660,6 @@ void parse_config_data(const char *config_source,
         }
         b_info->tsc_mode = l;
     } else if (!xlu_cfg_get_string(config, "tsc_mode", &buf, 0)) {
-        fprintf(stderr, "got a tsc mode string: \"%s\"\n", buf);
         if (libxl_tsc_mode_from_string(buf, &b_info->tsc_mode)) {
             fprintf(stderr, "ERROR: invalid value \"%s\" for \"tsc_mode\"\n",
                     buf);