[libvirt] [PATCH] 1/4 SMBIOS XML format extension
Daniel Veillard
veillard at redhat.com
Fri Oct 22 08:40:13 UTC 2010
On Thu, Oct 21, 2010 at 03:35:37PM -0600, Eric Blake wrote:
> 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 _?
just the two characters, \is an escape code to avoid the sequence
> >Currently missing is the conf code to save the data back, and
> >documentation for the domain extension.
>
> Indeed.
TODO :-)
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list
mailing list