From d449dbdcc026642ca8b26e7d1282eaecb400261f Mon Sep 17 00:00:00 2001 From: Kashyap Chamarthy Date: Thu, 25 Jan 2018 10:09:01 +0100 Subject: [PATCH] docs: formatdomain: Document the CPU feature 'name' attribute Currently, the CPU feature 'name' XML attribute, as in: [...] IvyBridge Intel [...] isn't explicitly documented in formatdomain.html. Document it now. Signed-off-by: Kashyap Chamarthy --- docs/formatdomain.html.in | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index f1fb8e59cc..3ec1173c6f 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -1521,6 +1521,21 @@ Since 0.8.5 the policy attribute can be omitted and will default to require. + +

Individual CPU feature names are specified as part of the + name attribute. For example, to explicitly specify + the 'pcid' feature with Intel IvyBridge CPU model: +

+ +
+...
+<cpu match='exact'>
+  <model fallback='forbid'>IvyBridge</model>
+  <vendor>Intel</vendor>
+  <feature policy='require' name='pcid'/>
+</cpu>
+...
+
cache
-- GitLab