This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] [PATCH] Xend debugging

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Xend debugging
From: Randy Thelen <rthelen@xxxxxxxxxx>
Date: Thu, 27 Apr 2006 11:40:19 -0700
Delivery-date: Thu, 27 Apr 2006 11:40:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Xend debugging, Randy Thelen <=