}
/*
- * "iothreadsinfo" command
+ * "iothreadinfo" command
*/
-static const vshCmdInfo info_iothreads[] = {
+static const vshCmdInfo info_iothreadinfo[] = {
{.name = "help",
.data = N_("view domain IOThreads")
},
},
{.name = NULL}
};
-static const vshCmdOptDef opts_iothreads[] = {
+static const vshCmdOptDef opts_iothreadinfo[] = {
{.name = "domain",
.type = VSH_OT_DATA,
.flags = VSH_OFLAG_REQ,
};
static bool
-cmdIOThreadsInfo(vshControl *ctl, const vshCmd *cmd)
+cmdIOThreadInfo(vshControl *ctl, const vshCmd *cmd)
{
virDomainPtr dom;
bool config = vshCommandOptBool(cmd, "config");
.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",
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.
[[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