direct-io.hg

changeset 12464:2dea3be89513

Fix of floppy disk configuration check

Signed-off-by: Takanori Kasai <Kasai.Takanori@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
author kasai.takanori@jp.fujitsu.com
date Thu Nov 16 10:50:21 2006 +0000 (2006-11-16)
parents cb4031c9d371
children d0e9da9cc84a
files tools/python/xen/xend/image.py
line diff
     1.1 --- a/tools/python/xen/xend/image.py	Thu Nov 16 10:44:23 2006 +0000
     1.2 +++ b/tools/python/xen/xend/image.py	Thu Nov 16 10:50:21 2006 +0000
     1.3 @@ -328,7 +328,7 @@ class HVMImageHandler(ImageHandler):
     1.4  
     1.5              if a in ['fda', 'fdb' ]:
     1.6                  if v:
     1.7 -                    if not os.path.isfile(v):
     1.8 +                    if not os.path.isabs(v):
     1.9                          raise VmError("Floppy file %s does not exist." % v)
    1.10              log.debug("args: %s, val: %s" % (a,v))
    1.11