From: Osier Yang Date: Tue, 29 Mar 2011 13:04:21 +0000 (+0800) Subject: cputune: Add document for cputune XML X-Git-Tag: v0.9.0~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b3644202aa1843eccf3b8540894c0bf85f74aba;p=thirdparty%2Flibvirt.git cputune: Add document for cputune XML v1 - v3: * More clear document for "cpu shares", adopted suggestions from Matthias Bottle and Daniel Veillard. --- diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 64b0b74bec..8b5081449d 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -346,6 +346,22 @@ be used to specify whether fewer than the maximum number of virtual CPUs should be enabled. +
cputune
+
The optional cputune element provides details + regarding the cpu tunable parameters for the domain.
+
vcpupin
+
The optional vcpupin element specifies which of host + physical CPUS the domain VCPU will be pinned to. If this is ommited, + each VCPU pinned to all the physical CPUS by default. It contains two + required attributes, the attribute vcpu specifies vcpu id, + and the attribute cpuset is same as attribute cpuset + of element vcpu. NB, Only qemu driver supports
+
shares
+
The optional shares element specifies the proportional + weighted share for the domain. If this is ommited, it defaults to + the OS provided defaults. NB, There is no unit for the value, it's a relative + measure based on the setting of other VM, e.g. A VM configured with value + 2048 will get twice as much CPU time as a VM configured with value 1024.

CPU model and topology