[PATCH v2 0/7] virsysinfo: Parse OEM strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



v2 of:

https://www.redhat.com/archives/libvir-list/2020-June/msg00038.html

diff to v1:
- cleaned up sysinfotest so that it can use virCommandSetDryRun()
- Handle multiline strings (per Dan's suggestion in review of v1)

Michal Prívozník (7):
  virSysinfoReadDMI: Use more g_auto*()
  virSysinfoReadDMI: Drop needless virFindFileInPath()
  testSysinfo: Use more g_auto*()
  sysinfotest: Dissolve sysinfotest_run() in testSysinfo()
  sysinfotest: Move from custom dmidecode scripts to
    virCommandSetDryRun()
  virsysinfo: Drop global @sysinfoDmidecode
  virsysinfo: Parse OEM strings

 src/util/virsysinfo.c                         | 151 +++++++++++++-----
 src/util/virsysinfopriv.h                     |   3 +-
 .../sysinfodata/aarch64-gigabytedmidecode.sh  |   3 -
 tests/sysinfodata/x86dmidecode.sh             |   3 -
 tests/sysinfodata/x86sysinfo.data             |   6 +
 tests/sysinfodata/x86sysinfo.expect           |   8 +
 tests/sysinfotest.c                           | 144 +++++++++--------
 7 files changed, 203 insertions(+), 115 deletions(-)
 delete mode 100755 tests/sysinfodata/aarch64-gigabytedmidecode.sh
 delete mode 100755 tests/sysinfodata/x86dmidecode.sh

-- 
2.26.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux