[libvirt] [PATCH 2/5] util: introduce virHostCPUGetMicrocodeVersion

Pino Toscano ptoscano at redhat.com
Mon Jan 8 09:47:33 UTC 2018

On Thursday, 4 January 2018 16:27:45 CET Jiri Denemark wrote:
> It's not pointless. It makes the log useful without having to look at
> /usr/include/asm-generic/errno-base.h. And it will only be done once in
> libvirtd lifetime so it's not really wasting CPU cycles or something.

Theoretically you do not need to: if you install 'moreutils', you get
the useful 'errno' utility to map from errno numbers to descriptions
(even localized ones), and vice-versa.  The only issue is that this
works only for the same OS+architecture combination, since values of
errno changes between OSes and architectures in the same OS.

Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180108/e378bfd9/attachment-0001.sig>

More information about the libvir-list mailing list