From: Keir Fraser Date: Mon, 9 Jun 2008 08:36:27 +0000 (+0100) Subject: xm: Set device_model option value default to None. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14200^2~90 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3e22cc46bb03b7be6662644d132a890837d9824f;p=xen.git 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 --- diff --git a/tools/python/xen/xm/create.py b/tools/python/xen/xm/create.py index 7487086e37..ddd0e47e76 100644 --- 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',