virsh: rename iothreadsinfo to iothreadinfo

The plural seems unnecessary.
This commit is contained in:
Ján Tomko 2015-03-25 17:15:04 +01:00
parent a0bbdcd788
commit fa67489d76
2 changed files with 11 additions and 11 deletions

View 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", {.name = "help",
.data = N_("view domain IOThreads") .data = N_("view domain IOThreads")
}, },
@ -6801,7 +6801,7 @@ static const vshCmdInfo info_iothreads[] = {
}, },
{.name = NULL} {.name = NULL}
}; };
static const vshCmdOptDef opts_iothreads[] = { static const vshCmdOptDef opts_iothreadinfo[] = {
{.name = "domain", {.name = "domain",
.type = VSH_OT_DATA, .type = VSH_OT_DATA,
.flags = VSH_OFLAG_REQ, .flags = VSH_OFLAG_REQ,
@ -6823,7 +6823,7 @@ static const vshCmdOptDef opts_iothreads[] = {
}; };
static bool static bool
cmdIOThreadsInfo(vshControl *ctl, const vshCmd *cmd) cmdIOThreadInfo(vshControl *ctl, const vshCmd *cmd)
{ {
virDomainPtr dom; virDomainPtr dom;
bool config = vshCommandOptBool(cmd, "config"); bool config = vshCommandOptBool(cmd, "config");
@ -12891,10 +12891,10 @@ const vshCmdDef domManagementCmds[] = {
.info = info_inject_nmi, .info = info_inject_nmi,
.flags = 0 .flags = 0
}, },
{.name = "iothreadsinfo", {.name = "iothreadinfo",
.handler = cmdIOThreadsInfo, .handler = cmdIOThreadInfo,
.opts = opts_iothreads, .opts = opts_iothreadinfo,
.info = info_iothreads, .info = info_iothreadinfo,
.flags = 0 .flags = 0
}, },
{.name = "iothreadpin", {.name = "iothreadpin",

View 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 after I<seconds> have elapsed. With I<--loop>, the command prints all
events until a timeout or interrupt key. 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 Display basic domain IOThreads information including the IOThread ID and
the CPU Affinity for each IOThread. 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>]] [[I<--live>] [I<--config>] | [I<--current>]]
Change the pinning of a domain IOThread to host physical CPUs. In order 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 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 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 separated list and a special markup using '-' and '^' (ex. '0-4', '0-3,^2') can