[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Fix of floppy disk configuration check



# HG changeset patch
# User kasai.takanori@xxxxxxxxxxxxxx 
# Node ID 2dea3be895138f1ac731ee2f241847e63831a1c5
# Parent  cb4031c9d371a6354250f50c56c2d4e9ed56b04c
Fix of floppy disk configuration check

Signed-off-by: Takanori Kasai <Kasai.Takanori@xxxxxxxxxxxxxx>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@xxxxxxxxxxxxxx>
---
 tools/python/xen/xend/image.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r cb4031c9d371 -r 2dea3be89513 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Thu Nov 16 10:44:23 2006 +0000
+++ b/tools/python/xen/xend/image.py    Thu Nov 16 10:50:21 2006 +0000
@@ -328,7 +328,7 @@ class HVMImageHandler(ImageHandler):
 
             if a in ['fda', 'fdb' ]:
                 if v:
-                    if not os.path.isfile(v):
+                    if not os.path.isabs(v):
                         raise VmError("Floppy file %s does not exist." % v)
             log.debug("args: %s, val: %s" % (a,v))
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.