projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b630504
)
xm: Set device_model option value default to None.
author
Keir Fraser
<keir.fraser@citrix.com>
Mon, 9 Jun 2008 08:36:27 +0000
(09:36 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Mon, 9 Jun 2008 08:36:27 +0000
(09:36 +0100)
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>
tools/python/xen/xm/create.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xm/create.py
b/tools/python/xen/xm/create.py
index 7487086e37ac0698b75761fe3ced84872eb6d007..ddd0e47e76f6efde2ed507873e32bdf88216443b 100644
(file)
--- a/
tools/python/xen/xm/create.py
+++ b/
tools/python/xen/xm/create.py
@@
-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',