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

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



# 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


 


Rackspace

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