[PATCH] virsysinfo: Parse OEM strings

Michal Privoznik mprivozn at redhat.com
Wed Jun 3 11:26:46 UTC 2020

On 6/3/20 1:22 PM, Daniel P. Berrangé wrote:
> With the normal format, we can reliably extract each string, but some
> chars might have been mangled. How about we keep your current code, but
> if we see a "." in a string, then we run "dmidecode -u --oem-string N"
> just for that particular string, in order to get the unmangled value.
> That will mean we only run dmidecode once majority of cases.

Makes sense. Will post v2.


More information about the libvir-list mailing list