[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] 1/4 SMBIOS XML format extension

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:

     <table type="0">
       <entry name="Vendor">QEmu/KVM</entry>
       <entry name="Version">0.13</entry>
     <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>

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.


Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]