On 07/31/2012 11:34 AM, Paolo Bonzini wrote:
Il 31/07/2012 15:33, Corey Minyard ha scritto:
I considered that, but that seems like a more brittle interface. New fields may need to be added in the future. I'll look at the file interface, but I would think it would be best to have something that could be added to.
Just format it as a sequence of SMBIOS structs. For now you only support one entry with header.type = 38, in the future it could be extended to visit each header in turn.
I think something generic is more appropriate, this will probably eventually support other arches and the IPMI SMBIOS structure is a big hack. The file interface was easy to use, anyway, and I'm ready to resubmit try two.
Thanks,
-corey