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

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



Please keep xen-devel@xxxxxxxxxxxxx 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

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