[libvirt] [PATCH] virsh: Remove redundant commands in group domain

Osier Yang jyang at redhat.com
Tue Dec 7 07:25:47 UTC 2010


"echo" is already in group "virsh", "freecell" and "hostname" are
already in group "host", so remove them from group "domain"

* tools/virsh.c
---
 tools/virsh.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/tools/virsh.c b/tools/virsh.c
index 441fd77..9ce3202 100644
--- a/tools/virsh.c
+++ b/tools/virsh.c
@@ -9956,10 +9956,7 @@ static const vshCmdDef domManagementCmds[] = {
     {"domxml-to-native", cmdDomXMLToNative, opts_domxmltonative, info_domxmltonative},
     {"dump", cmdDump, opts_dump, info_dump},
     {"dumpxml", cmdDumpXML, opts_dumpxml, info_dumpxml},
-    {"echo", cmdEcho, opts_echo, info_echo},
     {"edit", cmdEdit, opts_edit, info_edit},
-    {"freecell", cmdFreecell, opts_freecell, info_freecell},
-    {"hostname", cmdHostname, NULL, info_hostname},
     {"managedsave", cmdManagedSave, opts_managedsave, info_managedsave},
     {"managedsave-remove", cmdManagedSaveRemove, opts_managedsaveremove, info_managedsaveremove},
     {"maxvcpus", cmdMaxvcpus, opts_maxvcpus, info_maxvcpus},
--
1.7.3.2




More information about the libvir-list mailing list