diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index 1d8225c2de..48a281ef2f 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -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", diff --git a/tools/virsh.pod b/tools/virsh.pod index 4d825c1771..63325ffd73 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -1378,7 +1378,7 @@ If I<--timeout> is specified, the command gives up waiting for events after I have elapsed. With I<--loop>, the command prints all events until a timeout or interrupt key. -=item B I [[I<--live>] [I<--config>] | [I<--current>]] +=item B I [[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. To pin an +to retrieve a list of all IOThreads, use B. To pin an I specify the I desired for the IOThread ID as listed -in the B output. +in the B output. I 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