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@eng.ui.ac.ir


On Wednesday, February 5, 2014 4:09 PM, Olaf Hering <olaf@aepfle.de> 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