mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
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>
This commit is contained in:
1 parent
0ef0dcc006
commit
6dde5f55da
1 file changed
+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)
|
||||
|
||||