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

[Xen-devel] [PATCH] Xend debugging


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Randy Thelen <rthelen@xxxxxxxxxx>
  • Date: Thu, 27 Apr 2006 11:40:19 -0700
  • Delivery-date: Thu, 27 Apr 2006 11:40:38 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Grmble. Please ignore my recent Xend debugging patch. This patch supersedes that one.

Debugging Xend with XEND_DAEMONIZE set to False doesn't work as expected. Xend actually creates two children and the XEND_DAEMONIZE flag only prevents one of the children from being created. This patch causes none of the children to be created. With this patch, Xend functionality is performed in the process executed from the command line (i.e., /usr/sbin/xend). This patch makes it possible to debug Xend with pdb.

In addition to adding a test for XEND_DAEMONIZE before we fork even the first time, I've removed an unnecessary test of XEND_DAEMONIZE in the daemonize method. That's the improvement in this patch.

Signed-off-by: Randy Thelen <rthelen@xxxxxxxxxx>

Attachment: xend-SrvDaemon-pdb.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.