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-changelog

[Xen-changelog] [xen-unstable] xend: fix regression in c/s 19330

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xend: fix regression in c/s 19330
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 12 Mar 2009 08:45:09 -0700
Delivery-date: Thu, 12 Mar 2009 08:45:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1236872452 0
# Node ID b4f3a52c359ecfaf0553104be52ed19f615a1e64
# Parent  97f78142cd4ceb75ecf498df554fb589c4797b9a
xend: fix regression in c/s 19330

attached patch fixes a regression in c/s 19330 which
prevents to start guests on a Linux Dom0.

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---
 tools/python/xen/xend/image.py |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletion(-)

diff -r 97f78142cd4c -r b4f3a52c359e tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Thu Mar 12 15:37:12 2009 +0000
+++ b/tools/python/xen/xend/image.py    Thu Mar 12 15:40:52 2009 +0000
@@ -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)

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xend: fix regression in c/s 19330, Xen patchbot-unstable <=