From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: function snprintf() in xen_save_domain.c for debugged Date: Wed, 19 Feb 2014 15:12:07 +0100 Message-ID: <20140219141207.GA9631@aepfle.de> References: <20140202100044.GA5898@aepfle.de> <1391432170.33697.YahooMailNeo@web161806.mail.bf1.yahoo.com> <20140203131144.GA31275@aepfle.de> <1391583040.24823.YahooMailNeo@web161802.mail.bf1.yahoo.com> <20140205123908.GA1198@aepfle.de> <1391689706.75705.YahooMailNeo@web161806.mail.bf1.yahoo.com> <20140206214018.GA14658@aepfle.de> <1391807749.53657.YahooMailNeo@web161801.mail.bf1.yahoo.com> <20140207222247.GA23234@aepfle.de> <1392796739.73315.YahooMailNeo@web161801.mail.bf1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1392796739.73315.YahooMailNeo@web161801.mail.bf1.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Adel Amani Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, Feb 18, Adel Amani wrote: > Hi > i know because a lot of product output in xen-4.1, no logger in xc_save.c > i change code again according to "http://xen.1045712.n5.nabble.com/ > xen-unstable-tools-xc-restore-logging-in-xc-save-td5714324.html" > But i don't know purpose Mr "patchbot" of > @@ -185,6 +183,13 @@ main(int argc, char **argv) > i test again to code Mr "patchbot" without Consideration > @@ -185,6 +183,13 @@ main(int argc, char **argv) > and result again no message :-( .... All that is very imprecise, so we can not help. Also read what I wrote: dont drop xen-devel@lists.xen.org Olaf > On Saturday, February 8, 2014 1:52 AM, Olaf Hering wrote: > Please keep xen-devel@lists.xen.org in CC list. > > On Fri, Feb 07, Adel Amani wrote: > > > yes, for print data, function print_stats() in xc_domain_save.c should run > and > > work. I read in function and check.... But i don't know really why this don't > > work!!! :-|... I test 'fprintf(stderr,"STDERR\n"); fprintf(stdout,"STDOUT\ > n");' > > But again not answer :'(..... > > Please make sure the self-compiled binary is actually used. Try this to > verify: grep STDERR /usr/lib/xen/bin/xc_save (assuming the fprintf above > is actually in the compiled code.) > > > how boot the domU with 'initcall_debug'?! Are affect on total time?! > > This is a kernel cmdline option. Please check the documentation about > how to pass additional kernel parameters to a domU. > > > Olaf > >