XM: Set device_model Option Value default to None
PATCH 1/1 XM: Set device_model Option Value default to None
Set the device_model option value default to None. If device_model is set to '', xend will fail to execute the device model. If device_model is set to None, xend will detect it and set a sensible qemu-dm path instead.
Regards,
-----------------------
Yosuke Iwamatsu
NEC Corporation
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 <[email protected]>
tools/python/xen/xm/create.py +1 -1
@@ -424,7 +424,7 @@ gopts.var('nfs_root', val="PATH", use="Set the path of the root NFS directory.") gopts.var('device_model', val='FILE', - fn=set_value, default='', + fn=set_value, default=None, use="Path to device model program.") gopts.var('fda', val='FILE',
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel