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

Bjoern Walk posted 2 patches 6 years, 3 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20180112113802.220469-1-bwalk@linux.vnet.ibm.com
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
[libvirt] [PATCH v2 0/2] processor frequency information on S390
Posted by Bjoern Walk 6 years, 3 months ago
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@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list