From: David Jorm Date: Tue, 12 Jan 2010 02:24:04 +0000 (+1000) Subject: cpu_shares parameter limit documented X-Git-Tag: v0.7.6~206 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7aee22939f7f67a60e24472e5acc40b3b5b9d152;p=thirdparty%2Flibvirt.git cpu_shares parameter limit documented --- 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}