[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: Fri, 21 Feb 2014 08:34:01 -0800 (PST)
  • Delivery-date: Fri, 21 Feb 2014 22:22:10 +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=Hzl2S4k8E8recjWyHlLBe939m/TaFkaPOd9mND8MmoLYHpjJjBYRvRh4Iq6MD/87fNlSjc1RDYscie2BzzCeoC3acGjTQFNkO/LKGLrjBaQMq2ohxga53KEy9FWFIS7CoNSKEGVyNZesZjzJUwUPXpgN1yU2YkEheEuWseXFS14=;
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

can you please explain in more details about: The "@@ " markers are from diff(1), so that patch(1) can do its work.what line code i need to add?   
do i need to add these lines of code:
max_f = atoi(argv[4]);
    si.flags = atoi(argv[5]);
 
Adel Amani
M.Sc. Candidate@Computer Engineering Department, University of Isfahan
Email: A.Amani@xxxxxxxxxxxx


On Friday, February 21, 2014 1:00 PM, Olaf Hering <olaf@xxxxxxxxx> wrote:
On Thu, Feb 20, Adel Amani wrote:

> +    lvl = si.flags & XCFLAGS_DEBUG ? XTL_DEBUG: XTL_DETAIL;

Please follow the code and check how si.flags gets its values.

The "@@ " markers are from diff(1), so that patch(1) can do its work.


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