aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/xl_cmdtable.c
diff options
context:
space:
mode:
authorMathieu Gagne <mgagne@iweb.com>2012-04-17 19:13:52 +0100
committerMathieu Gagne <mgagne@iweb.com>2012-04-17 19:13:52 +0100
commit0fc13df6b8cacc09bc25660915ff3fb716535d0a (patch)
tree56cd4b8cec8f87ce45305d689a06dbed86a576c3 /tools/libxl/xl_cmdtable.c
parentfd7ac19749c06711b607e1ccfaa1efae25131967 (diff)
downloadxen-0fc13df6b8cacc09bc25660915ff3fb716535d0a.tar.gz
xen-0fc13df6b8cacc09bc25660915ff3fb716535d0a.tar.bz2
xen-0fc13df6b8cacc09bc25660915ff3fb716535d0a.zip
xl: xl network-attach -N (dry run) option
Add dryrun for testing and debugging purposes. Signed-off-by: Mathieu Gagne <mgagne@iweb.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'tools/libxl/xl_cmdtable.c')
-rw-r--r--tools/libxl/xl_cmdtable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxl/xl_cmdtable.c b/tools/libxl/xl_cmdtable.c
index f461a2a1b5..736a8366ed 100644
--- a/tools/libxl/xl_cmdtable.c
+++ b/tools/libxl/xl_cmdtable.c
@@ -288,7 +288,7 @@ struct cmd_spec cmd_table[] = {
"",
},
{ "network-attach",
- &main_networkattach, 0,
+ &main_networkattach, 1,
"Create a new virtual network device",
"<Domain> [type=<type>] [mac=<mac>] [bridge=<bridge>] "
"[ip=<ip>] [script=<script>] [backend=<BackDomain>] [vifname=<name>] "