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:
Keir Fraser committed 2009-03-12 15:40:52 +00:00
1 parent 0ef0dcc006
commit 6dde5f55da
1 file changed
+5 -1
+5 -1
View File
@@ -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)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.