# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1184058674 -3600
# Node ID b476c756ad4fdc41b0246fb4c943997e740e256e
# Parent fa9fa5f98c91b2acbabfe1771ab621a170cbaf03
xm: Improve help message for vif creation.
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
tools/python/xen/xm/create.py | 6 +++++-
1 files changed, 5 insertions(+), 1 deletion(-)
diff -r fa9fa5f98c91 -r b476c756ad4f tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py Tue Jul 10 10:07:00 2007 +0100
+++ b/tools/python/xen/xm/create.py Tue Jul 10 10:11:14 2007 +0100
@@ -318,7 +318,8 @@ gopts.var('vfb', val="type={vnc,sdl},vnc
given DISPLAY and XAUTHORITY, which default to the current user's
ones.""")
-gopts.var('vif',
val="type=TYPE,mac=MAC,bridge=BRIDGE,ip=IPADDR,script=SCRIPT,backend=DOM,vifname=NAME",
+gopts.var('vif',
val="type=TYPE,mac=MAC,bridge=BRIDGE,ip=IPADDR,script=SCRIPT," + \
+ "backend=DOM,vifname=NAME,rate=RATE,model=MODEL,accel=ACCEL",
fn=append_value, default=[],
use="""Add a network interface with the given MAC address and bridge.
The vif is configured by calling the given configuration script.
@@ -330,6 +331,9 @@ gopts.var('vif', val="type=TYPE,mac=MAC,
If backend is not specified the default backend driver domain is
used.
If vifname is not specified the backend virtual interface will have
name vifD.N
where D is the domain id and N is the interface id.
+ If rate is not specified the default rate is used.
+ If model is not specified the default model is used.
+ If accel is not specified an accelerator plugin module is not used.
This option may be repeated to add more than one vif.
Specifying vifs will increase the number of interfaces as needed.""")
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|