WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] xm: Set device_model option value default

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xm: Set device_model option value default to None.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 10 Jun 2008 03:40:12 -0700
Delivery-date: Tue, 10 Jun 2008 03:40:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xm: Set device_model option value default to None., Xen patchbot-unstable <=