ia64/xen-unstable

changeset 17794:9126c09738da

xm: Set device_model option value default to None.
If device_model is set to '', xend will fail to execute the device
model. If None, xend will detect it and set a sensible qemu-dm path
instead.

Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Jun 09 09:36:27 2008 +0100 (2008-06-09)
parents 0be5d3510305
children 4eba2151d38b
files tools/python/xen/xm/create.py
line diff
     1.1 --- a/tools/python/xen/xm/create.py	Mon Jun 09 09:36:07 2008 +0100
     1.2 +++ b/tools/python/xen/xm/create.py	Mon Jun 09 09:36:27 2008 +0100
     1.3 @@ -424,7 +424,7 @@ gopts.var('nfs_root', val="PATH",
     1.4            use="Set the path of the root NFS directory.")
     1.5  
     1.6  gopts.var('device_model', val='FILE',
     1.7 -          fn=set_value, default='',
     1.8 +          fn=set_value, default=None,
     1.9            use="Path to device model program.")
    1.10  
    1.11  gopts.var('fda', val='FILE',