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

Re: [Xen-devel] function snprintf() in xen_save_domain.c for debugged


  • To: Olaf Hering <olaf@xxxxxxxxx>, Xen <xen-devel@xxxxxxxxxxxxx>
  • From: Adel Amani <adel.amani66@xxxxxxxxx>
  • Date: Thu, 6 Feb 2014 04:28:26 -0800 (PST)
  • Delivery-date: Thu, 06 Feb 2014 13:09:19 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=RU4gcpnhTicRnrf5XSjZ7Q7jgVE54GVWQuvvGGwA75YHYQTOLHB5e8RgpfpZvssRSSjCtBJn+8xCIlGHaHWg6b5HRSSESoe41h4Wn4OuWPZidTM5lrGkibyRpwjEYG7r9aNeDSBOnpcTv/3YnPo1prtf8oXmPInpVuhQsIiQkHY=;
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

I check XCFLAGS_DEBUG that definition at line 27 of file xenguest.h that mean's 
#define XCFLAGS_DEBUG (1 << 1)
I done 2 migration to amount lvl = XTL_DEBUG; and lvl = XTL_DETAIL; that result attached But until i have not log of dirty page(dirty memory)and downtime :-( ...

 
Adel Amani
M.Sc. Candidate@Computer Engineering Department, University of Isfahan
Email: A.Amani@xxxxxxxxxxxx


On Wednesday, February 5, 2014 4:09 PM, Olaf Hering <olaf@xxxxxxxxx> wrote:
On Tue, Feb 04, Adel Amani wrote:

>    si.flags = atoi(argv[5]);

> lvl = si.flags & XCFLAGS_DEBUG ? XTL_DEBUG: XTL_DETAIL;
> lflags = XTL_STDIOSTREAM_SHOW_PID | XTL_STDIOSTREAM_HIDE_PROGRESS;
> l = (xentoollog_logger *)xtl_createlogger_stdiostream(stderr, lvl, lflags);
> si.xch = xc_interface_open(l,0,0);

Please check what XCFLAGS_DEBUG actually means, and if that condition
can ever be true without modifying also xend related code.

I guess in your exploration of how migration internally actually works
it would be easier for you to just write 'lvl = XTL_DEBUG;' and be done
with it.

Other than that, the changes you made appear to be correct.


Olaf


Attachment: xend (XTL_DETAIL).log
Description: Binary data

Attachment: xend(XTL_DEBUG).log
Description: Binary data

_______________________________________________
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®.