[PATCH v2 0/2] processor frequency information on S390

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

 



Since kernel version 4.7, processor frequency information is available
on S390. This patch series extends the parser for system information.

Let's also add a testcase to the test suite for a S390 CPU configuration
running kernel version 4.14 on LPAR.

This is basically patch 3 of this series:
https://www.redhat.com/archives/libvir-list/2017-December/msg00633.html

v1 -> v2:
    - add debug logging
    - don't discard the whole hostsysinfo when the parsing fails
    - don't try to parse a value for external_clock, that information is
      not available on S390
    - add test case for to sysinfotest.c

Bjoern Walk (2):
  util: virsysinfo: parse frequency information on S390
  tests: sysinfotest: add new test case for S390

 src/util/virsysinfo.c                     |  41 ++++++-
 tests/sysinfodata/s390-freqcpuinfo.data   |  52 +++++++++
 tests/sysinfodata/s390-freqsysinfo.data   | 173 ++++++++++++++++++++++++++++++
 tests/sysinfodata/s390-freqsysinfo.expect |  63 +++++++++++
 tests/sysinfotest.c                       |   1 +
 5 files changed, 325 insertions(+), 5 deletions(-)
 create mode 100644 tests/sysinfodata/s390-freqcpuinfo.data
 create mode 100644 tests/sysinfodata/s390-freqsysinfo.data
 create mode 100644 tests/sysinfodata/s390-freqsysinfo.expect

-- 
2.13.4

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



[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