From 7aee22939f7f67a60e24472e5acc40b3b5b9d152 Mon Sep 17 00:00:00 2001 From: David Jorm Date: Tue, 12 Jan 2010 12:24:04 +1000 Subject: [PATCH] cpu_shares parameter limit documented --- po/en_GB.po | 3 +++ tools/virsh.c | 1 + 2 files changed, 4 insertions(+) diff --git a/po/en_GB.po b/po/en_GB.po index 59f155f237..49415848fb 100644 --- a/po/en_GB.po +++ b/po/en_GB.po @@ -9610,6 +9610,9 @@ msgstr "Show/Set scheduler parameters." msgid "parameter=value" msgstr "" +msgid "cpu_shares parameter" +msgstr "cpu_shares: 0-262144" + #: tools/virsh.c:1247 msgid "weight for XEN_CREDIT" msgstr "weight for XEN_CREDIT" diff --git a/tools/virsh.c b/tools/virsh.c index 1fae5e6169..f3bf69e164 100644 --- a/tools/virsh.c +++ b/tools/virsh.c @@ -1248,6 +1248,7 @@ static const vshCmdInfo info_schedinfo[] = { static const vshCmdOptDef opts_schedinfo[] = { {"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")}, + {"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")}, {"cap", VSH_OT_INT, VSH_OFLAG_NONE, gettext_noop("cap for XEN_CREDIT")}, {NULL, 0, 0, NULL} -- 2.47.2