[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] xl: remove stray timer mode debug print (Was: Re: superfluous "got a timer mode" message?)



On Fri, 2012-07-20 at 10:22 +0100, Andre Przywara wrote:
> 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 <ian.campbell@xxxxxxxxxx>
# Date 1342776718 -3600
# Node ID 27860c8b0968414787b4f077b8e1a21c9d85d5c2
# Parent  f3ad5f33c34a5e981d9ffd56f112b96a86e36109
xl: remove stray timer mode debug print

Reported-by: Andre Przywara <andre.przywara@xxxxxxx>
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

diff -r f3ad5f33c34a -r 27860c8b0968 tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c  Fri Jul 20 10:31:07 2012 +0100
+++ b/tools/libxl/xl_cmdimpl.c  Fri Jul 20 10:31:58 2012 +0100
@@ -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);



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.