From: Keir Fraser Date: Thu, 12 Mar 2009 15:40:52 +0000 (+0000) Subject: xend: fix regression in c/s 19330 X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13992^2~81 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6dde5f55da1ddfec808b0560f4923eff7b6de4a6;p=xen.git 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 --- diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py index 772b8044cd..9c1eac878e 100644 --- a/tools/python/xen/xend/image.py +++ b/tools/python/xen/xend/image.py @@ -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)