On 10/21/2010 02:13 PM, Daniel Veillard wrote:
The suggested XML description follows the logical structure of
the
data, one top smbios description, with one or more blocks, each
containing the entries, the example below gives an idea:
<smbios>
<table type="0">
<entry name="Vendor">QEmu/KVM</entry>
<entry name="Version">0.13</entry>
</table>
<table type="1">
<entry name="Manufacturer">Fedora</entry>
<entry name="Product">Virt-Manager</entry>
<entry name="Version">0.8.2-3.fc14</entry>
<entry name="UUID">c7a5fdbdedaf9455926ad65c16db1809</entry>
</table>
</smbios>
Seems reasonable to me.
+<define name="smbios-name">
+<data type="string">
+<param name='pattern'>[a-zA-Z0-9\-_\. ]+</param>
^^^
Is that the range of characters from \ to _, or is just the two
characters - and _?
Currently missing is the conf code to save the data back, and
documentation for the domain extension.
Indeed.
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org