提交 7aee2293 编写于 作者: D David Jorm

cpu_shares parameter limit documented

上级 ddcee85f
...@@ -9610,6 +9610,9 @@ msgstr "Show/Set scheduler parameters." ...@@ -9610,6 +9610,9 @@ msgstr "Show/Set scheduler parameters."
msgid "parameter=value" msgid "parameter=value"
msgstr "" msgstr ""
msgid "cpu_shares parameter"
msgstr "cpu_shares: 0-262144"
#: tools/virsh.c:1247 #: tools/virsh.c:1247
msgid "weight for XEN_CREDIT" msgid "weight for XEN_CREDIT"
msgstr "weight for XEN_CREDIT" msgstr "weight for XEN_CREDIT"
......
...@@ -1248,6 +1248,7 @@ static const vshCmdInfo info_schedinfo[] = { ...@@ -1248,6 +1248,7 @@ static const vshCmdInfo info_schedinfo[] = {
static const vshCmdOptDef opts_schedinfo[] = { static const vshCmdOptDef opts_schedinfo[] = {
{"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")}, {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
{"set", VSH_OT_STRING, VSH_OFLAG_NONE, gettext_noop("parameter=value")}, {"set", VSH_OT_STRING, VSH_OFLAG_NONE, gettext_noop("parameter=value")},
{"parameter", VSH_OT_DATA, VSH_OFLAG_NONE, gettext_noop("cpu_shares parameter")},
{"weight", VSH_OT_INT, VSH_OFLAG_NONE, gettext_noop("weight for XEN_CREDIT")}, {"weight", VSH_OT_INT, VSH_OFLAG_NONE, gettext_noop("weight for XEN_CREDIT")},
{"cap", VSH_OT_INT, VSH_OFLAG_NONE, gettext_noop("cap for XEN_CREDIT")}, {"cap", VSH_OT_INT, VSH_OFLAG_NONE, gettext_noop("cap for XEN_CREDIT")},
{NULL, 0, 0, NULL} {NULL, 0, 0, NULL}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册