diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-03-12 15:40:52 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-03-12 15:40:52 +0000 |
commit | 6dde5f55da1ddfec808b0560f4923eff7b6de4a6 (patch) | |
tree | 055189b396f18f1c6e42d8e5926e946a8c153825 /tools | |
parent | 0ef0dcc006677405c2f83ddc54bfc9c7af8e9604 (diff) | |
download | xen-6dde5f55da1ddfec808b0560f4923eff7b6de4a6.tar.gz xen-6dde5f55da1ddfec808b0560f4923eff7b6de4a6.tar.bz2 xen-6dde5f55da1ddfec808b0560f4923eff7b6de4a6.zip |
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@amd.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/python/xen/xend/image.py | 6 |
1 files changed, 5 insertions, 1 deletions
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) |