superfluous "got a timer mode" message?
Hi,
while starting some guests I saw this on my terminal:
got a timer mode string: "no_missed_ticks_pending"
I suppose this is a debug leftover? At least we may want to somehow log this instead of doing "fprintf(stderr" and scare the user?
I actually changed my config file from timer_mode=2 to this one to get rid of the warning, now I only got a new "warning" in return...
Replacing fprintf with LOG didn't help, so I leave it to you to do a proper fix ;-)
Regards,
Andre
Signature · 2 lines
Andre Przywara AMD-Operating System Research Center (OSRC), Dresden, Germany
PATCH 1/1 xl: remove stray timer mode debug print (Was: Re: superfluous "got a timer mode" message?)
Quoted 7 lines · Andre Przywara
Hi,
while starting some guests I saw this on my terminal:
got a timer mode string: "
no_missed_ticks_pending"I suppose this is a debug leftover?
Indeed, lets remove it.
8<--------------------------
# HG changeset patch
# User Ian Campbell <[email protected]> # Date 1342776718 -3600
# Node ID 27860c8b0968414787b4f077b8e1a21c9d85d5c2 # Parent f3ad5f33c34a5e981d9ffd56f112b96a86e36109
xl: remove stray timer mode debug print
tools/libxl/xl_cmdimpl.c +0 -1
@@ -836,7 +836,6 @@ static void parse_config_data(const char } b_info->u.hvm.timer_mode = l; }else if (!xlu_cfg_get_string (config,"timer_mode" , &buf,0 )) { -fprintf (stderr,"got a timer mode string: \"%s\"\n" , buf);if (libxl_timer_mode_from_string (buf, &b_info->u.hvm.timer_mode)) {fprintf (stderr,"ERROR: invalid value \"%s\" for \"timer_mode\"\n" , buf);
Re: [PATCH] xl: remove stray timer mode debug print (Was: Re: superfluous "got a timer mode" message?)
Ian Campbell writes ("[PATCH] xl: remove stray timer mode debug print (Was: Re: superfluous "got a timer mode" message?)"):
Quoted 4 lines
xl: remove stray timer mode debug print
Reported-by Andre Przywara <[email protected]>Signed-off-by Ian Campbell <[email protected]>
Ian Campbell
AppliedRe: [PATCH] xl: remove stray timer mode debug print (Was: Re: superfluous "got a timer mode" message?)
Quoted 7 lines · Ian Jackson
Ian Campbell writes ("[PATCH] xl: remove stray timer mode debug print (Was: Re: superfluous "got a timer mode" message?)"):
Quoted 4 lines
xl: remove stray timer mode debug print
Reported-by Andre Przywara <[email protected]>Signed-off-by Ian Campbell <[email protected]>Acked-by Ian Jackson <[email protected]>
Thanks, applied.