[libvirt] [PATCH 0/3] virSysinfo: Try dmidecode on aarch64

Michal Privoznik posted 3 patches 5 years, 6 months ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1557474558.git.mprivozn@redhat.com
There is a newer version of this series
src/util/virsysinfo.c | 43 +++++++++++++++++++++++++++++++------------
1 file changed, 31 insertions(+), 12 deletions(-)
[libvirt] [PATCH 0/3] virSysinfo: Try dmidecode on aarch64
Posted by Michal Privoznik 5 years, 6 months ago
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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list