]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virsh: move two commands from domain group to storage pool group
authorOsier Yang <jyang@redhat.com>
Thu, 2 Dec 2010 00:25:17 +0000 (08:25 +0800)
committerEric Blake <eblake@redhat.com>
Thu, 2 Dec 2010 23:09:19 +0000 (16:09 -0700)
* tools/virsh.c (find-storage-pool-sources-as and find-storage-pool-sources
should't be in command group "Domain Management", move them to group
"Storage Pool".

tools/virsh.c

index c09c0d848b3b5c919956ae9a7d9ee91e2562e2dc..31de80f94fe94155a406dbf549e8a735c697c159 100644 (file)
@@ -9962,10 +9962,6 @@ static const vshCmdDef domManagementCmds[] = {
     {"dumpxml", cmdDumpXML, opts_dumpxml, info_dumpxml},
     {"echo", cmdEcho, opts_echo, info_echo},
     {"edit", cmdEdit, opts_edit, info_edit},
-    {"find-storage-pool-sources-as", cmdPoolDiscoverSourcesAs,
-     opts_find_storage_pool_sources_as, info_find_storage_pool_sources_as},
-    {"find-storage-pool-sources", cmdPoolDiscoverSources,
-     opts_find_storage_pool_sources, info_find_storage_pool_sources},
     {"freecell", cmdFreecell, opts_freecell, info_freecell},
     {"hostname", cmdHostname, NULL, info_hostname},
     {"managedsave", cmdManagedSave, opts_managedsave, info_managedsave},
@@ -10008,6 +10004,10 @@ static const vshCmdDef domMonitoringCmds[] = {
 };
 
 static const vshCmdDef storagePoolCmds[] = {
+    {"find-storage-pool-sources-as", cmdPoolDiscoverSourcesAs,
+     opts_find_storage_pool_sources_as, info_find_storage_pool_sources_as},
+    {"find-storage-pool-sources", cmdPoolDiscoverSources,
+     opts_find_storage_pool_sources, info_find_storage_pool_sources},
     {"pool-autostart", cmdPoolAutostart, opts_pool_autostart, info_pool_autostart},
     {"pool-build", cmdPoolBuild, opts_pool_build, info_pool_build},
     {"pool-create-as", cmdPoolCreateAs, opts_pool_X_as, info_pool_create_as},