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: Fri, 7 Feb 2014 23:22:47 +0100 Message-ID: <20140207222247.GA23234@aepfle.de> References: <1391331061.24599.YahooMailNeo@web161802.mail.bf1.yahoo.com> <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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1391807749.53657.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 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