# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1213000587 -3600
# Node ID 9126c09738da2dd6a2dee8e4e120496405708a85
# Parent 0be5d3510305bb31c0d15d48850201c8b2089718
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@xxxxxxxxxxxxx>
---
tools/python/xen/xm/create.py | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r 0be5d3510305 -r 9126c09738da tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py Mon Jun 09 09:36:07 2008 +0100
+++ b/tools/python/xen/xm/create.py Mon Jun 09 09:36:27 2008 +0100
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|