From f335ed77a69cdb29cb1fa4c03fbd68bf37b2dfc6 Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Thu, 21 Aug 2014 17:10:35 -0400 Subject: [PATCH] formatdomain: Reformat vCPU description Reformat the vCPU description to use list elements rather than one long run-on paragraph Signed-off-by: John Ferlan --- docs/formatdomain.html.in | 75 +++++++++++++++++++++++---------------- 1 file changed, 44 insertions(+), 31 deletions(-) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index ed173896c7..6d0ef8e4c7 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -419,37 +419,50 @@
vcpu
The content of this element defines the maximum number of virtual CPUs allocated for the guest OS, which must be between 1 and - the maximum supported by the hypervisor. Since - 0.4.4, this element can contain an optional - cpuset attribute, which is a comma-separated - list of physical CPU numbers that domain process and virtual CPUs - can be pinned to by default. (NB: The pinning policy of domain - process and virtual CPUs can be specified separately by - cputune. If attribute emulatorpin - of cputune is specified, cpuset - specified by vcpu here will be ignored; Similarly, - For virtual CPUs which has vcpupin specified, - cpuset specified by cpuset here - will be ignored; For virtual CPUs which doesn't have - vcpupin specified, it will be pinned to the physical - CPUs specified by cpuset here). - Each element in that list is either a single CPU number, - a range of CPU numbers, or a caret followed by a CPU number to - be excluded from a previous range. Since - 0.8.5, the optional attribute current can - be used to specify whether fewer than the maximum number of - virtual CPUs should be enabled. Since - 0.9.11 (QEMU and KVM only), the optional attribute - placement can be used to indicate the CPU placement - mode for domain process, its value can be either "static" or - "auto", defaults to placement of numatune, - or "static" if cpuset is specified. "auto" indicates - the domain process will be pinned to the advisory nodeset from querying - numad, and the value of attribute cpuset will be ignored - if it's specified. If both cpuset and placement - are not specified, or if placement is "static", but no - cpuset is specified, the domain process will be pinned to - all the available physical CPUs. + the maximum supported by the hypervisor. +
+
cpuset
+
+ The optional attribute cpuset is a comma-separated + list of physical CPU numbers that domain process and virtual CPUs + can be pinned to by default. (NB: The pinning policy of domain + process and virtual CPUs can be specified separately by + cputune. If the attribute emulatorpin + of cputune is specified, the cpuset + specified by vcpu here will be ignored. Similarly, + for virtual CPUs which have the vcpupin specified, + the cpuset specified by cpuset here + will be ignored. For virtual CPUs which don't have + vcpupin specified, each will be pinned to the physical + CPUs specified by cpuset here). + Each element in that list is either a single CPU number, + a range of CPU numbers, or a caret followed by a CPU number to + be excluded from a previous range. + Since 0.4.4 +
+
current
+
+ The optional attribute current can + be used to specify whether fewer than the maximum number of + virtual CPUs should be enabled. + Since 0.8.5 +
+
placement
+
+ The optional attribute placement can be used to + indicate the CPU placement mode for domain process. The value can + be either "static" or "auto", but defaults to placement + of numatune or "static" if cpuset is + specified. Using "auto" indicates the domain process will be pinned + to the advisory nodeset from querying numad and the value of + attribute cpuset will be ignored if it's specified. + If both cpuset and placement are not + specified or if placement is "static", but no + cpuset is specified, the domain process will be + pinned to all the available physical CPUs. + Since 0.9.11 (QEMU and KVM only) +
+