From 6b3644202aa1843eccf3b8540894c0bf85f74aba Mon Sep 17 00:00:00 2001 From: Osier Yang Date: Tue, 29 Mar 2011 21:04:21 +0800 Subject: [PATCH] cputune: Add document for cputune XML v1 - v3: * More clear document for "cpu shares", adopted suggestions from Matthias Bottle and Daniel Veillard. --- docs/formatdomain.html.in | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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

-- 2.39.5