[libvirt] [PATCH 0/3] virSysinfo: Try dmidecode on aarch64
Michal Privoznik
mprivozn at redhat.com
Fri May 10 07:52:25 UTC 2019
Turns out some aarch64 machines provide SMBIOS and thus we can use
dmidecode to get the sysinfo. Currently, we're parsing /proc/cpuinfo
which is very sparse on ARMs.
Yes, ideally everything would be exposed somewhere in sysfs, and libvirt
would ditch dmidecode in favor of sysfs, but how realistic is that?
Michal Prívozník (3):
virSysinfoRead: Simplify #ifdef underbush
virSysinfoParseX86BaseBoard: Free memory upfront if no board detected
virSysinfoReadARM: Try reading DMI table
src/util/virsysinfo.c | 43 +++++++++++++++++++++++++++++++------------
1 file changed, 31 insertions(+), 12 deletions(-)
--
2.21.0
More information about the libvir-list
mailing list