xend: fix regression
PATCH 1/1 xend: fix regression
Hi,
attached patch fixes a regression in c/s 19330 which prevents to start guests on a Linux Dom0.
Signed-off-by Christoph Egger <[email protected]>
Signature · 6 lines
---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
tools/python/xen/xend/image.py +5 -1
@@ -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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel