]> xenbits.xensource.com Git - libvirt.git/commitdiff
virsh: rename iothreadsinfo to iothreadinfo
authorJán Tomko <jtomko@redhat.com>
Wed, 25 Mar 2015 16:15:04 +0000 (17:15 +0100)
committerJán Tomko <jtomko@redhat.com>
Thu, 26 Mar 2015 12:49:49 +0000 (13:49 +0100)
The plural seems unnecessary.

tools/virsh-domain.c
tools/virsh.pod

index 1d8225c2de8a3eb387397fc78c4632ead7a253c4..48a281ef2f9852d8883b7a3aaa342bb14990651a 100644 (file)
@@ -6790,9 +6790,9 @@ cmdSetvcpus(vshControl *ctl, const vshCmd *cmd)
 }
 
 /*
- * "iothreadsinfo" command
+ * "iothreadinfo" command
  */
-static const vshCmdInfo info_iothreads[] = {
+static const vshCmdInfo info_iothreadinfo[] = {
     {.name = "help",
      .data = N_("view domain IOThreads")
     },
@@ -6801,7 +6801,7 @@ static const vshCmdInfo info_iothreads[] = {
     },
     {.name = NULL}
 };
-static const vshCmdOptDef opts_iothreads[] = {
+static const vshCmdOptDef opts_iothreadinfo[] = {
     {.name = "domain",
      .type = VSH_OT_DATA,
      .flags = VSH_OFLAG_REQ,
@@ -6823,7 +6823,7 @@ static const vshCmdOptDef opts_iothreads[] = {
 };
 
 static bool
-cmdIOThreadsInfo(vshControl *ctl, const vshCmd *cmd)
+cmdIOThreadInfo(vshControl *ctl, const vshCmd *cmd)
 {
     virDomainPtr dom;
     bool config = vshCommandOptBool(cmd, "config");
@@ -12891,10 +12891,10 @@ const vshCmdDef domManagementCmds[] = {
      .info = info_inject_nmi,
      .flags = 0
     },
-    {.name = "iothreadsinfo",
-     .handler = cmdIOThreadsInfo,
-     .opts = opts_iothreads,
-     .info = info_iothreads,
+    {.name = "iothreadinfo",
+     .handler = cmdIOThreadInfo,
+     .opts = opts_iothreadinfo,
+     .info = info_iothreadinfo,
      .flags = 0
     },
     {.name = "iothreadpin",
index 4d825c17710f54f060dbc3c8e356bab3fad6fbf6..63325ffd73d16183c6437effbb7e7bdc391e921f 100644 (file)
@@ -1378,7 +1378,7 @@ If I<--timeout> is specified, the command gives up waiting for events
 after I<seconds> have elapsed.   With I<--loop>, the command prints all
 events until a timeout or interrupt key.
 
-=item B<iothreadsinfo> I<domain> [[I<--live>] [I<--config>] | [I<--current>]]
+=item B<iothreadinfo> I<domain> [[I<--live>] [I<--config>] | [I<--current>]]
 
 Display basic domain IOThreads information including the IOThread ID and
 the CPU Affinity for each IOThread.
@@ -1394,9 +1394,9 @@ then get the IOThread data based on the current guest state.
 [[I<--live>] [I<--config>] | [I<--current>]]
 
 Change the pinning of a domain IOThread to host physical CPUs. In order
-to retrieve a list of all IOThreads, use B<iothreadsinfo>. To pin an
+to retrieve a list of all IOThreads, use B<iothreadinfo>. To pin an
 I<iothread> specify the I<cpulist> desired for the IOThread ID as listed
-in the B<iothreadsinfo> output.
+in the B<iothreadinfo> output.
 
 I<cpulist> is a list of physical CPU numbers. Its syntax is a comma
 separated list and a special markup using '-' and '^' (ex. '0-4', '0-3,^2') can