WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Fix bug #709 by daemonizing blktapctrl and closing s

To: xen-devel@xxxxxxxxxxxxxxxxxxx, andrew.warfield@xxxxxxxxxxxx, julian.chesterfield@xxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Fix bug #709 by daemonizing blktapctrl and closing stdin, stdout and stderr
From: Harry Butterworth <harry@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Jul 2006 16:15:42 +0100
Delivery-date: Mon, 31 Jul 2006 08:16:10 -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
This patch fixes bug #709.  I've tested it by running xm-test in both
HVM and non-HVM mode.  xm-test no longer hangs in the enforce-dom0-cpus
test.

I just copied the daemonize code from xenstored and added the lines to
close the filedescriptors.  This is a best effort without really 100%
understanding exactly what blktapctrl is doing.

Please review carefully before applying.

Signed-off-by: Harry Butterworth <butterwo@xxxxxxxxxx>

Attachment: daemonize-blktapctrl.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>