mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
virSysinfo: Introduce SMBIOS type 2 support
https://bugzilla.redhat.com/show_bug.cgi?id=1220527 This type of information defines attributes of a system baseboard. With one exception: board type is yet not implemented in qemu so it's not introduced here either. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
@@ -375,6 +375,12 @@
|
||||
<entry name='product'>Virt-Manager</entry>
|
||||
<entry name='version'>0.9.4</entry>
|
||||
</system>
|
||||
<baseBoard>
|
||||
<entry name='manufacturer'>LENOVO</entry>
|
||||
<entry name='product'>20BE0061MC</entry>
|
||||
<entry name='version'>0B98401 Pro</entry>
|
||||
<entry name='serial'>W1KS427111E</entry>
|
||||
</baseBoard>
|
||||
</sysinfo>
|
||||
...</pre>
|
||||
|
||||
@@ -435,11 +441,32 @@
|
||||
<dt><code>family</code></dt>
|
||||
<dd>Identify the family a particular computer belongs to.</dd>
|
||||
</dl>
|
||||
NB: Incorrectly supplied entries in either the <code>bios</code>
|
||||
or <code>system</code> blocks will be ignored without error.
|
||||
Other than <code>uuid</code> validation and <code>date</code>
|
||||
format checking, all values are passed as strings to the
|
||||
hypervisor driver.
|
||||
</dd>
|
||||
<dt><code>baseBoard</code></dt>
|
||||
<dd>
|
||||
This is block 2 of SMBIOS. This element can be repeated multiple
|
||||
times to describe all the base boards; however, not all
|
||||
hypervisors necessarily support the repetition. The element can
|
||||
have the following children:
|
||||
<dl>
|
||||
<dt><code>manufacturer</code></dt>
|
||||
<dd>Manufacturer of BIOS</dd>
|
||||
<dt><code>product</code></dt>
|
||||
<dd>Product Name</dd>
|
||||
<dt><code>version</code></dt>
|
||||
<dd>Version of the product</dd>
|
||||
<dt><code>serial</code></dt>
|
||||
<dd>Serial number</dd>
|
||||
<dt><code>asset</code></dt>
|
||||
<dd>Asset tag</dd>
|
||||
<dt><code>location</code></dt>
|
||||
<dd>Location in chassis</dd>
|
||||
</dl>
|
||||
NB: Incorrectly supplied entries for the
|
||||
<code>bios</code>, <code>system</code> or <code>baseBoard</code>
|
||||
blocks will be ignored without error. Other than <code>uuid</code>
|
||||
validation and <code>date</code> format checking, all values are
|
||||
passed as strings to the hypervisor driver.
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
Reference in New Issue
Block a user