From 3c998963881b64fcd67bb295d6adfed4260eff62 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Tue, 18 Jan 2011 13:41:55 -0700 Subject: [PATCH] docs: document and elements * docs/formatdomain.html.in: Talk about throughout. --- docs/formatdomain.html.in | 79 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 78 insertions(+), 1 deletion(-) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 3afea8deae..55e2cbd0bd 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -48,7 +48,10 @@ a globally unique identifier for the virtual machine. The format must be RFC 4122 compliant, eg 3e3fce45-4f53-4fa7-bb32-11f34168b82b. If omitted when defining/creating a new machine, a random - UUID is generated. Since 0.0.1 + UUID is generated. It is also possible to provide the UUID + via a sysinfo + specification. Since 0.0.1, sysinfo + since 0.8.7
description
The content of the description element provides a @@ -81,6 +84,7 @@ <boot dev='hd'/> <boot dev='cdrom'/> <bootmenu enable='yes'/> + <smbios mode='sysinfo'/> </os> ... @@ -115,6 +119,16 @@ If not specified, the hypervisor default is used. Since 0.8.3
+
smbios
+
How to populate SMBIOS information visible in the guest. + The mode attribute must be specified, and is either + "emulate" (let the hypervisor generate all values), "host" (copy + all of Block 0 and Block 1, except for the UUID, from the host's + SMBIOS values), or "sysinfo" (use the values in + the sysinfo element). If not + specified, the hypervisor default is used. + Since 0.8.7 +

Host bootloader

@@ -188,6 +202,69 @@ installation media source / kickstart file +

SMBIOS System Information

+ +

+ Some hypervisors allow control over what system information is + presented to the guest (for example, SMBIOS fields can be + populated by a hypervisor and inspected via + the dmidecode command in the guest). The + optional sysinfo element covers all such categories + of information. Since 0.8.7 +

+ +
+  ...
+  <os>
+    <smbios mode='sysinfo'/>
+    ...
+  </os>
+  <sysinfo type='smbios'>
+    <bios>
+      <entry name='vendor'>LENOVO</entry>
+    </bios>
+    <system>
+      <entry name='manufacturer'>Fedora</entry>
+      <entry name='vendor'>Virt-Manager</entry>
+    </system>
+  </sysinfo>
+  ...
+ +

+ The sysinfo element has a mandatory + attribute type that determine the layout of + sub-elements, with supported values of: +

+ +
+
smbios
+
Sub-elements call out specific SMBIOS values, which will + affect the guest if used in conjunction with + the smbios sub-element of + the os element. Each + sub-element of sysinfo names a SMBIOS block, and + within those elements can be a list of entry + elements that describe a field within the block. The following + blocks and entries are recognized: +
+
bios
+
+ This is block 0 of SMBIOS, with entry names drawn from + "vendor", "version", "date", and "release". +
+
system
+
+ This is block 1 of SMBIOS, with entry names drawn from + "manufacturer", "product", "version", "serial", "uuid", + "sku", and "family". If a "uuid" entry is provided + alongside a + top-level uuid + element, the two values must match. +
+
+
+
+

Basic resources