提交 fa67489d 编写于 作者: J Ján Tomko

virsh: rename iothreadsinfo to iothreadinfo

The plural seems unnecessary.
上级 a0bbdcd7
......@@ -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",
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册