From: Christoph Egger Subject: [PATCH] xend: fix regression Date: Thu, 12 Mar 2009 16:16:27 +0100 Message-ID: <200903121616.27756.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-00=_LdSuJu2mGvPd+Pe" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Boundary-00=_LdSuJu2mGvPd+Pe Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, attached patch fixes a regression in c/s 19330 which prevents to start guests on a Linux Dom0. Signed-off-by: Christoph Egger -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Jochen Polster, Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632 --Boundary-00=_LdSuJu2mGvPd+Pe Content-Type: text/x-diff; charset="us-ascii"; name="xend_regression.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xend_regression.diff" diff -r a55a98b36a2a tools/python/xen/xend/image.py --- a/tools/python/xen/xend/image.py Thu Mar 12 11:33:35 2009 +0000 +++ b/tools/python/xen/xend/image.py Mon Mar 12 16:06:24 2009 +0100 @@ -232,7 +232,11 @@ class ImageHandler: # If we use a device model, the pipes for communication between # blktapctrl and ioemu must be present before the devices are # created (blktapctrl must access them for new block devices) - os.makedirs('/var/run/tap', 0755) + + try: + os.makedirs('/var/run/tap', 0755) + except: + pass try: os.mkfifo('/var/run/tap/qemu-read-%d' % domid, 0600) --Boundary-00=_LdSuJu2mGvPd+Pe Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-00=_LdSuJu2mGvPd+Pe--