52 Commits

Author SHA256 Message Date
58f8a25d2c Accepting request 1276709 from hardware
OBS-URL: https://build.opensuse.org/request/show/1276709
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qclib?expand=0&rev=19
2025-05-13 18:11:58 +00:00
e31e6cadcb Accepting request 1276707 from home:ngueorguiev:branches:hardware
- Upgrade qclib to 2.5.1
  * Changes:
    - Recognize IBM z17 and LinuxONE Emperor 5
    - sysinfo: Use consistent logic when reading from dump and in live system, increase initial buffer size to accommodate bigger systems

OBS-URL: https://build.opensuse.org/request/show/1276707
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=51
2025-05-12 06:15:20 +00:00
d588a30e90 Accepting request 1194994 from hardware
OBS-URL: https://build.opensuse.org/request/show/1194994
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qclib?expand=0&rev=18
2024-08-21 21:24:50 +00:00
13d8a98547 Accepting request 1194993 from home:ngueorguiev:branches:hardware
- Upgrade qclib to version 2.5.0
  * Changes:
    - Remove support for textual hypfs, as previously indicated with v1.4.0
    - zname, zhypinfo: Add command line switch -d
    - Removed now unused compile option CONFIG_DEBUG_TIMESTAMPS

OBS-URL: https://build.opensuse.org/request/show/1194993
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=49
2024-08-21 06:29:17 +00:00
46221a2706 Accepting request 1169241 from hardware
OBS-URL: https://build.opensuse.org/request/show/1169241
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qclib?expand=0&rev=17
2024-04-21 18:24:34 +00:00
fe75c74592 Accepting request 1169240 from home:ngueorguiev:branches:hardware
Changed the patch qclib-change-_PATH_MOUNTED.patch

OBS-URL: https://build.opensuse.org/request/show/1169240
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=47
2024-04-19 15:22:53 +00:00
8ce6d3ad74 Accepting request 1169171 from home:ngueorguiev:branches:hardware
- Applied a patch to change the _PATH_MOUNTED (bsc#1222143)
  * qclib-change-_PATH_MOUNTED.patch

OBS-URL: https://build.opensuse.org/request/show/1169171
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=46
2024-04-19 12:24:54 +00:00
55ee550112 Accepting request 1146219 from home:ngueorguiev:branches:hardware
- Upgrade to version 2.4.1 (jsc#PED-3285)
  * Handle systems with `/sys/kernel/security/lockdown` enabled
  * Consistency check: Fix accounting of reserved cores and CPUs
  * Trace: Fix display of version information
  * Doxygen config: Remove unused options 
- Removed obsolete patch qclib-sys-kernel-security-lockdown-enabled.patch

OBS-URL: https://build.opensuse.org/request/show/1146219
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=45
2024-02-12 15:48:46 +00:00
208cee34ac Accepting request 1120172 from hardware
OBS-URL: https://build.opensuse.org/request/show/1120172
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qclib?expand=0&rev=16
2023-10-26 15:12:03 +00:00
2e36099905 Accepting request 1120171 from home:ngueorguiev:branches:hardware
Applied a patch

OBS-URL: https://build.opensuse.org/request/show/1120171
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=43
2023-10-25 06:53:22 +00:00
e154d28f75 Accepting request 1120167 from home:ngueorguiev:branches:hardware
- Applied a patch(bsc#1216212,bsc#1214466)
  * qclib-sys-kernel-security-lockdown-enabled.patch

OBS-URL: https://build.opensuse.org/request/show/1120167
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=42
2023-10-25 06:26:47 +00:00
fd04e73422 Accepting request 1118250 from hardware
OBS-URL: https://build.opensuse.org/request/show/1118250
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qclib?expand=0&rev=15
2023-10-19 20:46:57 +00:00
79f863e2b4 Accepting request 1118249 from home:ngueorguiev:branches:hardware
- Reverted back the if condition (bsc#1216212)
  * %if 0%{?suse_version} from "1500" to "1300" to avoid build error on IBS

OBS-URL: https://build.opensuse.org/request/show/1118249
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=40
2023-10-17 09:26:02 +00:00
ee472f38c4 Accepting request 1089695 from hardware
Upgrade to version 2.4.0 (jsc#PED-3284, jsc#PED-3285)

OBS-URL: https://build.opensuse.org/request/show/1089695
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qclib?expand=0&rev=14
2023-06-01 15:18:53 +00:00
38a2dd5fe7 Accepting request 1089693 from home:ngueorguiev:branches:hardware
- Upgrade to version 2.4.0 (jsc#PED-3284, jsc#PED-3285)
  * Changes:
  - Recognize single frame models and rackable models
  - zname: Add support for option --json
  - qc_dump: Add trace and JSON dump to .tgz
- Amended the .spec file for the error "static-library-without-debuginfo"
  * Removed the line: gzip -9 %{buildroot}/%{_mandir}/man8/*
- Upgraded to version 2.3.2 (jsc#PED-585, jsc#PED-626)
  * __v2.3.2 (2022-09-19)__
    _Changes_:
    - Recognize IBM LinuxONE Emperor 4
  * __v2.3.1 (2022-04-05)__
    _Changes_:
    - Recognize IBM z16
- Removed the following obsolete patches:
  * qclib-sles15sp4-doc-fix-installing-README.patch.
  * qclib-sles15sp4-Fix-version-info.patch
- Updated spec file to eliminate rpmlint warnings about 
  self-obsoleting.
- Updated rpmlintrc file to suppress an inaccurate warning about
  qclib-devel not depending on the correct package(s).
- Upgraded to version 2.3.0 (jsc#SLE-18327)
  * Changes:
    - Only export symbols exposed in public header
    - `config.doxygen`: Remove obsolete variables
    - `zname`, `zhypinfo`: Add version switch
- Updated the URL in the spec file to point to the github repository
- Added the following patches from IBM's git repository
  * qclib-sles15sp4-doc-fix-installing-README.patch
  * qclib-sles15sp4-Fix-version-info.patch
- Upgraded to version 2.2.1 (jsc#SLE-13711)
  Bug fixes:
  - zhypinfo: Fix memory leaks
  - Makefile: Various fixes
- Removed obsolete qclib.makefile.libdir.patch.
- Removed obsolete qclib.fix.missing.makefile.if.statement.patch.
- Updated qclib.makefile.libdir.patch to fit the current version.
- Upgraded to version 2.2.0 (jsc#SLE-13711)
  Changes:
  - Add new tools zname and zhypinfo
  Bug fixes:
  - KVM hosts in mixed mode LPARs indicated both, CPs and IFLs, while only
    CPs are actually used
- Updated qclib.makefile.libdir.patch to apply against the current
  version, and to make sure the two new man pages go to the right
  directory.
- Added qclib.fix.missing.makefile.if.statement.patch to correct a
  problem in the Makefile.
- Changed spec file from "make" to "%make_build" per spec-cleaner.
- Updated the URL in the spec file to point to current location of
  the package.
- Upgraded to version 2.1.0 (bsc#1170410)
  Changes:
  - New attributes in support of secure boot in all final layers:
     * qc_has_secure
     * qc_secure
    Note: Changed src column indicator from 'o' to 'F' to summarize
          firmware-related data
  - Recognize IBM z15 midrange models
  Bug fixes:
  - qc_open(): Memory leaks on errors
- Removed obsolete qclib-2.0.1-add-support-for-secure-boot-related-attributes.patch.
- Added qclib-2.0.1-add-support-for-secure-boot-related-attributes.patch
  Add an attribute in qclib so that we can programmatically detect
  if secure boot is available and active in the current LPAR. (bsc#1165018).
- Make building more verbose
- Upgraded to version 2.0.1 (bsc#1160745)
  Changes:
  - Retry up to three times when a live guest migration is detected
  Bug fixes:
  - Attribute qc_num_ziip_threads in CEC layer was not correctly set.
  - Do not account zIIPs in layer QC_LAYER_TYPE_ZOS_ZCX_SERVER for
    qc_num_cpu_* attributes.
  - qc_dump: Handle non-writable /tmp
- Upgraded to verson 2.0.0 (jsc#SLE-7867)
  Changes:
  * New attributes in layer CEC:
       * qc_type_name
       * qc_type_family
       * qc_lic_identifier
  * qc_test: Reworked output for subtle consistency improvements
  * Replaced attribute qc_hardlimit_consumption with
    qc_limithard_consumption. Use CONFIG_V1_COMPATIBILITY for previous
    version.
  * Require CONFIG_DUMP_READING in query_capacity.h to allow running from a
    dump. Disabled by default.
  * Disabled v1 compatibility functionality per default. To re-enable,
    activate CONFIG_V1_COMPATIBILITY in query_capacity.h.
- Upgraded to version 1.4.1 (bsc#1135781, Fate#327836, jsc#SLE-5908)
  Bug fixes:
  * qc_dump: Don't abort the dump in case qc_test fails.
  * Attributes qc_cp_weight_capping and qc_ifl_weight_capping were set even
    when initial capping was not set in the LPAR's activation profile.
  Version 1.4.0
  Changes:
  * Added SMT support by properly differentiating between cores and CPUs.
    I.e. switched from qc_num_cpu_* to qc_num_core_* attributes in layers
    CEC, LPAR, ZVM_HYPERVISOR and KVM_HYPERVISOR.
    NOTE: qc_num_cpu_* attributes remain to be valid in these cases to
          preserve backwards compatibility for now. This will be removed in
          one of the next releases! It is recommended to switch to the new
          attributes _now_ and test with CONFIG_V1_COMPATIBILITY disabled!
  * Added new attributes qc_num_threads_cp and qc_num_threads_ifl to layers
    CEC, LPAR and ZVM_HYPERVISOR.
  * Deprecated attribute qc_mobility_eligible (remains valid for now) and
    replaced with qc_mobility_enabled to match z/VM terminology. Likewise
    switched QC_LAYER_TYPE_ZVM_CPU_POOL to QC_LAYER_TYPE_ZVM_RESOURCE_POOL.
  * Moved build customization defines (e.g. CONFIG_V1_COMPATIBILITY) to
    query_capacity.h.
  * Don't build with textual hypfs per default anymore due to unrecoverable
    issues (see section 'Bug fixes'). Since all Linux distributions ship
    with debugfs (providing binary hypfs support), overriding textual hypfs,
    for years, this change will hardly ever be noticable. Enable define
    CONFIG_TEXTUAL_HYPFS in query_capacity.h to revert.
    Note that textual hypfs support will be removed in a future release.
  Bug fixes:
  * Added an exception to consistency check to ignore inconsistencies between
    textual hypfs and STHYI for attributes qc_num_cp_total and
    qc_num_ifl_total in the LPAR layer.
    Background: Textual hypfs cannot tell whether a core is configured or
                not. It therefore reports all cores as configured, which can
                be wrong.
  Version 1.3.1
  Bug fixes:
  * Security: Fix PATH attack vulnerability when dumping (see QC_DEBUG=2)
  * STHYI: Add fallback for pre-glibc 2.16 (not using getauxval())
  * Handle mismatching STHYI and /proc/sysinfo layer counts
  * On LPAR, fix incomplete dump of binary hypfs when textual hypfs is mounted
- Dropped obsolete qclib-sles15-fix-mismatch-case-with-STHYI.patch.
- Updated qclib.makefile.libdir.patch to apply cleanly to the new version.
- Made numerous changes to the spec file based on the output from
  spec-cleaner.
- Updated qclib-rpmlintrc file to catch all duplicate file messages
- Added qclib-sles15-fix-mismatch-case-with-STHYI.patch
  (bsc#1071687, bsc#1104304).
- Upgraded to version 1.3.0 (Fate#325039)
  Changes:
  * Added STHYI support in LPAR
  * Added new env variable QC_DEBUG_FILE (see qc_open())
    Note: Failure to open a file for logging is now treated as a fatal error
  * Added script qc_dump to collect debug data in a standardized manner
  * Added attributes qc_layer_uuid and qc_layer_extended_name to LPAR layer
  * /proc/sysinfo parsing: Switch from "KVM/Linux" to the less strict "KVM"
    to detect KVM systems
  * Detect unregistered and closed handles
  * Makefile: Compile SONAME into shared library
  Bug fixes:
  * STHYI: Properly support cc==3&&rc==4 as introduced in APAR VM65419
  * Logs: Fix month in timestamp (was off by 1)
  * qc_test: Fix flags for qc_layer_name in QC_LAYER_TYPE_ZVM_HYPERVISOR
- Dropped obsolete patch qclib.correctly.interpret.sthyi.check.patch
- Added qclib.correctly.interpret.sthyi.check.patch (bsc#1028105).
- Upgraded to qclib 1.2 (bsc#984143)
  - Removed source [S] for attributes qc_num_cpu_dedicated and
    qc_num_cpu_shared in LPAR layer for consistency
  - Retrieve qc_layer_name in CEC layer from OCF
  - Extended hypfs usage to provide more CP, IFL and CPU counts for
    CEC and LPAR layers, as well as capping information for LPAR
    group and LPAR layers
  - Added attributes for IFLs, CPs and CPUs for KVM hypervisor and
    guest layers
  - Added support for LPAR Groups
  - Added new attribute qc_prorated_core_time
  - Fill qc_num_cp_total and qc_num_ifl_total in LPAR layer from STHYI
  - Consistency checks: Detect inconsistent values across data sources
  - Documentation improvements
  Bug fixes:
  - Fixed crash when setting QC_USE_DUMP to an invalid directory and
    QC_DEBUG=1
  - Fixed reset of debug level when QC_CHECK_CONSISTENCY is invalid
  - Display all values in attribute qc_partition_char in case of multiple
  - Set qc_cp_dispatch_type in presence of CPs only
- Upgraded to qclib 1.1.0 (fate#320435)
- Removed the following patches against version 1.0.0
  qclib.makefile.patch
  qclib.disable.consistency.checks.patch
  qclib.handle.hostnames.with.less.than.8.characters.in.presence.of.hypfs.patch
- Added a couple of comment lines to the header in the spec file.
- Added qclib.disable.consistency.checks.patch (bsc#961643).
- Added qclib.handle.hostnames.with.less.than.8.characters.in.presence.of.hypfs.patch
  (bsc#957607).
- Replaced qclib.makefile.patch with IBM's version of the patch.
  (bsc#951518).
- Modified the spec file to make use of the new "make install"
  and "make installdoc" targets.
- Modified the spec file to account for slightly different file
  locations.
- Added qclib.makefile.libdir.patch to enable building on both
  s390x and s390 systems.
- Added two new filters to the qclib-devel-rpmlintrc file to
  mask two new duplicate files that arrived with IBM's patched
  Makefile.
- Initial version

OBS-URL: https://build.opensuse.org/request/show/1089693
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=38
2023-05-30 06:27:51 +00:00
02a8db6b41 Accepting request 1089517 from home:ngueorguiev:branches:hardware
- Upgrade to version 2.4.0 (jsc#PED-3284, jsc#PED-3285)
  * Changes:
  - Recognize single frame models and rackable models
  - zname: Add support for option --json
  - qc_dump: Add trace and JSON dump to .tgz
- Amended the .spec file for the error "static-library-without-debuginfo"
  * Added a line: rm %buildroot/%_libdir/*.a
  * Removed the line: %{_libdir}/libqc.a from %files devel-static
  * Removed the line: gzip -9 %{buildroot}/%{_mandir}/man8/*

OBS-URL: https://build.opensuse.org/request/show/1089517
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=37
2023-05-29 07:46:32 +00:00
5e66157969 Accepting request 1005099 from hardware
OBS-URL: https://build.opensuse.org/request/show/1005099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qclib?expand=0&rev=13
2022-09-22 12:49:12 +00:00
Mark Post
00b44f04a9 Accepting request 1005098 from home:markkp:branches:hardware
- Upgraded to version 2.3.2 (jsc#PED-585, jsc#PED-626)
  * __v2.3.2 (2022-09-19)__
    _Changes_:
    - Recognize IBM LinuxONE Emperor 4
  * __v2.3.1 (2022-04-05)__
    _Changes_:
    - Recognize IBM z16
- Removed the following obsolete patches:
  * qclib-sles15sp4-doc-fix-installing-README.patch.
  * qclib-sles15sp4-Fix-version-info.patch
- Updated spec file to eliminate rpmlint warnings about 
  self-obsoleting.
- Updated rpmlintrc file to suppress an inaccurate warning about
  qclib-devel not depending on the correct package(s).

OBS-URL: https://build.opensuse.org/request/show/1005098
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=35
2022-09-21 05:39:18 +00:00
acf3a0d44c Accepting request 920679 from hardware
OBS-URL: https://build.opensuse.org/request/show/920679
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qclib?expand=0&rev=12
2021-09-24 22:35:12 +00:00
Mark Post
6c3e381ca6 Accepting request 920678 from home:markkp:branches:hardware
- Upgraded to version 2.3.0 (jsc#SLE-18327)
  * Changes:
    - Only export symbols exposed in public header
    - `config.doxygen`: Remove obsolete variables
    - `zname`, `zhypinfo`: Add version switch
- Updated the URL in the spec file to point to the github repository
- Added the following patches from IBM's git repository
  * qclib-sles15sp4-doc-fix-installing-README.patch
  * qclib-sles15sp4-Fix-version-info.patch

OBS-URL: https://build.opensuse.org/request/show/920678
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=34
2021-09-21 17:49:46 +00:00
4448dfe2a7 Accepting request 843547 from hardware
- Upgraded to version 2.2.1 (jsc#SLE-13711)
  Bug fixes:
  - zhypinfo: Fix memory leaks
  - Makefile: Various fixes
- Removed obsolete qclib.makefile.libdir.patch.
- Removed obsolete qclib.fix.missing.makefile.if.statement.patch.
- Updated qclib.makefile.libdir.patch to fit the current version.

OBS-URL: https://build.opensuse.org/request/show/843547
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qclib?expand=0&rev=11
2020-10-23 10:21:03 +00:00
Mark Post
446088144c Accepting request 843546 from home:markkp:branches:hardware
- Upgraded to version 2.2.1 (jsc#SLE-13711)
  Bug fixes:
  - zhypinfo: Fix memory leaks
  - Makefile: Various fixes
- Removed obsolete qclib.makefile.libdir.patch.
- Removed obsolete qclib.fix.missing.makefile.if.statement.patch.
- Updated qclib.makefile.libdir.patch to fit the current version.
- Upgraded to version 2.2.0 (jsc#SLE-13711)
  Changes:
  - Add new tools zname and zhypinfo
  Bug fixes:
  - KVM hosts in mixed mode LPARs indicated both, CPs and IFLs, while only
    CPs are actually used
- Updated qclib.makefile.libdir.patch to apply against the current
  version, and to make sure the two new man pages go to the right
  directory.
- Added qclib.fix.missing.makefile.if.statement.patch to correct a
  problem in the Makefile.
- Changed spec file from "make" to "%make_build" per spec-cleaner.
- Updated the URL in the spec file to point to current location of
  the package.
- Upgraded to version 2.1.0 (bsc#1170410)
  Changes:
  - New attributes in support of secure boot in all final layers:
     * qc_has_secure
     * qc_secure
    Note: Changed src column indicator from 'o' to 'F' to summarize
          firmware-related data
  - Recognize IBM z15 midrange models
  Bug fixes:
  - qc_open(): Memory leaks on errors
- Removed obsolete qclib-2.0.1-add-support-for-secure-boot-related-attributes.patch.
- Added qclib-2.0.1-add-support-for-secure-boot-related-attributes.patch
  Add an attribute in qclib so that we can programmatically detect
  if secure boot is available and active in the current LPAR. (bsc#1165018).
- Make building more verbose
- Upgraded to version 2.0.1 (bsc#1160745)
  Changes:
  - Retry up to three times when a live guest migration is detected
  Bug fixes:
  - Attribute qc_num_ziip_threads in CEC layer was not correctly set.
  - Do not account zIIPs in layer QC_LAYER_TYPE_ZOS_ZCX_SERVER for
    qc_num_cpu_* attributes.
  - qc_dump: Handle non-writable /tmp
- Upgraded to verson 2.0.0 (jsc#SLE-7867)
  Changes:
  * New attributes in layer CEC:
       * qc_type_name
       * qc_type_family
       * qc_lic_identifier
  * qc_test: Reworked output for subtle consistency improvements
  * Replaced attribute qc_hardlimit_consumption with
    qc_limithard_consumption. Use CONFIG_V1_COMPATIBILITY for previous
    version.
  * Require CONFIG_DUMP_READING in query_capacity.h to allow running from a
    dump. Disabled by default.
  * Disabled v1 compatibility functionality per default. To re-enable,
    activate CONFIG_V1_COMPATIBILITY in query_capacity.h.
- Upgraded to version 1.4.1 (bsc#1135781, Fate#327836, jsc#SLE-5908)
  Bug fixes:
  * qc_dump: Don't abort the dump in case qc_test fails.
  * Attributes qc_cp_weight_capping and qc_ifl_weight_capping were set even
    when initial capping was not set in the LPAR's activation profile.
  Version 1.4.0
  Changes:
  * Added SMT support by properly differentiating between cores and CPUs.
    I.e. switched from qc_num_cpu_* to qc_num_core_* attributes in layers
    CEC, LPAR, ZVM_HYPERVISOR and KVM_HYPERVISOR.
    NOTE: qc_num_cpu_* attributes remain to be valid in these cases to
          preserve backwards compatibility for now. This will be removed in
          one of the next releases! It is recommended to switch to the new
          attributes _now_ and test with CONFIG_V1_COMPATIBILITY disabled!
  * Added new attributes qc_num_threads_cp and qc_num_threads_ifl to layers
    CEC, LPAR and ZVM_HYPERVISOR.
  * Deprecated attribute qc_mobility_eligible (remains valid for now) and
    replaced with qc_mobility_enabled to match z/VM terminology. Likewise
    switched QC_LAYER_TYPE_ZVM_CPU_POOL to QC_LAYER_TYPE_ZVM_RESOURCE_POOL.
  * Moved build customization defines (e.g. CONFIG_V1_COMPATIBILITY) to
    query_capacity.h.
  * Don't build with textual hypfs per default anymore due to unrecoverable
    issues (see section 'Bug fixes'). Since all Linux distributions ship
    with debugfs (providing binary hypfs support), overriding textual hypfs,
    for years, this change will hardly ever be noticable. Enable define
    CONFIG_TEXTUAL_HYPFS in query_capacity.h to revert.
    Note that textual hypfs support will be removed in a future release.
  Bug fixes:
  * Added an exception to consistency check to ignore inconsistencies between
    textual hypfs and STHYI for attributes qc_num_cp_total and
    qc_num_ifl_total in the LPAR layer.
    Background: Textual hypfs cannot tell whether a core is configured or
                not. It therefore reports all cores as configured, which can
                be wrong.
  Version 1.3.1
  Bug fixes:
  * Security: Fix PATH attack vulnerability when dumping (see QC_DEBUG=2)
  * STHYI: Add fallback for pre-glibc 2.16 (not using getauxval())
  * Handle mismatching STHYI and /proc/sysinfo layer counts
  * On LPAR, fix incomplete dump of binary hypfs when textual hypfs is mounted
- Dropped obsolete qclib-sles15-fix-mismatch-case-with-STHYI.patch.
- Updated qclib.makefile.libdir.patch to apply cleanly to the new version.
- Made numerous changes to the spec file based on the output from
  spec-cleaner.
- Updated qclib-rpmlintrc file to catch all duplicate file messages
- Added qclib-sles15-fix-mismatch-case-with-STHYI.patch
  (bsc#1071687, bsc#1104304).
- Upgraded to version 1.3.0 (Fate#325039)
  Changes:
  * Added STHYI support in LPAR
  * Added new env variable QC_DEBUG_FILE (see qc_open())
    Note: Failure to open a file for logging is now treated as a fatal error
  * Added script qc_dump to collect debug data in a standardized manner
  * Added attributes qc_layer_uuid and qc_layer_extended_name to LPAR layer
  * /proc/sysinfo parsing: Switch from "KVM/Linux" to the less strict "KVM"
    to detect KVM systems
  * Detect unregistered and closed handles
  * Makefile: Compile SONAME into shared library
  Bug fixes:
  * STHYI: Properly support cc==3&&rc==4 as introduced in APAR VM65419
  * Logs: Fix month in timestamp (was off by 1)
  * qc_test: Fix flags for qc_layer_name in QC_LAYER_TYPE_ZVM_HYPERVISOR
- Dropped obsolete patch qclib.correctly.interpret.sthyi.check.patch
- Added qclib.correctly.interpret.sthyi.check.patch (bsc#1028105).
- Upgraded to qclib 1.2 (bsc#984143)
  - Removed source [S] for attributes qc_num_cpu_dedicated and
    qc_num_cpu_shared in LPAR layer for consistency
  - Retrieve qc_layer_name in CEC layer from OCF
  - Extended hypfs usage to provide more CP, IFL and CPU counts for
    CEC and LPAR layers, as well as capping information for LPAR
    group and LPAR layers
  - Added attributes for IFLs, CPs and CPUs for KVM hypervisor and
    guest layers
  - Added support for LPAR Groups
  - Added new attribute qc_prorated_core_time
  - Fill qc_num_cp_total and qc_num_ifl_total in LPAR layer from STHYI
  - Consistency checks: Detect inconsistent values across data sources
  - Documentation improvements
  Bug fixes:
  - Fixed crash when setting QC_USE_DUMP to an invalid directory and
    QC_DEBUG=1
  - Fixed reset of debug level when QC_CHECK_CONSISTENCY is invalid
  - Display all values in attribute qc_partition_char in case of multiple
  - Set qc_cp_dispatch_type in presence of CPs only
- Upgraded to qclib 1.1.0 (fate#320435)
- Removed the following patches against version 1.0.0
  qclib.makefile.patch
  qclib.disable.consistency.checks.patch
  qclib.handle.hostnames.with.less.than.8.characters.in.presence.of.hypfs.patch
- Added a couple of comment lines to the header in the spec file.
- Added qclib.disable.consistency.checks.patch (bsc#961643).
- Added qclib.handle.hostnames.with.less.than.8.characters.in.presence.of.hypfs.patch
  (bsc#957607).
- Replaced qclib.makefile.patch with IBM's version of the patch.
  (bsc#951518).
- Modified the spec file to make use of the new "make install"
  and "make installdoc" targets.
- Modified the spec file to account for slightly different file
  locations.
- Added qclib.makefile.libdir.patch to enable building on both
  s390x and s390 systems.
- Added two new filters to the qclib-devel-rpmlintrc file to
  mask two new duplicate files that arrived with IBM's patched
  Makefile.
- Initial version

OBS-URL: https://build.opensuse.org/request/show/843546
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=32
2020-10-23 06:50:28 +00:00
Mark Post
4dbf2fc14d Accepting request 842631 from home:markkp:branches:hardware
- Upgraded to version 2.2.1 (jsc#SLE-137116)
  Bug fixes:
  - zhypinfo: Fix memory leaks
  - Makefile: Various fixes
- Removed obsolete qclib.makefile.libdir.patch.
- Removed obsolete qclib.fix.missing.makefile.if.statement.patch.
- Updated qclib.makefile.libdir.patch to fit the current version.

OBS-URL: https://build.opensuse.org/request/show/842631
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=31
2020-10-19 19:54:58 +00:00
1537910917 Accepting request 836410 from hardware
OBS-URL: https://build.opensuse.org/request/show/836410
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qclib?expand=0&rev=10
2020-09-24 14:13:40 +00:00
Mark Post
c0e771f207 Accepting request 836409 from home:markkp:branches:hardware
- Upgraded to version 2.2.0 (jsc#SLE-13711)

Changed Jira reference to the Epic and not the Team task.

OBS-URL: https://build.opensuse.org/request/show/836409
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=29
2020-09-23 21:21:13 +00:00
Mark Post
ab3613ca4f Accepting request 835596 from home:markkp:branches:hardware
- Upgraded to version 2.2.0 (jsc#SLE-14064)
  Changes:
  - Add new tools zname and zhypinfo
  Bug fixes:
  - KVM hosts in mixed mode LPARs indicated both, CPs and IFLs, while only
    CPs are actually used
- Updated qclib.makefile.libdir.patch to apply against the current
  version, and to make sure the two new man pages go to the right
  directory.
- Added qclib.fix.missing.makefile.if.statement.patch to correct a
  problem in the Makefile.
- Changed spec file from "make" to "%make_build" per spec-cleaner.
- Updated the URL in the spec file to point to current location of
  the package.

OBS-URL: https://build.opensuse.org/request/show/835596
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=28
2020-09-19 17:03:21 +00:00
99b05e5e5b Accepting request 798380 from hardware
OBS-URL: https://build.opensuse.org/request/show/798380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qclib?expand=0&rev=9
2020-04-29 18:43:07 +00:00
Mark Post
3d22e73421 Accepting request 798379 from home:markkp:branches:hardware
- Upgraded to version 2.1.0 (bsc#1170410)
  Changes:
  - New attributes in support of secure boot in all final layers:
     * qc_has_secure
     * qc_secure
    Note: Changed src column indicator from 'o' to 'F' to summarize
          firmware-related data
  - Recognize IBM z15 midrange models
  Bug fixes:
  - qc_open(): Memory leaks on errors
- Removed obsolete qclib-2.0.1-add-support-for-secure-boot-related-attributes.patch.

OBS-URL: https://build.opensuse.org/request/show/798379
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=26
2020-04-27 18:53:16 +00:00
e526e8b61e Accepting request 782230 from hardware
OBS-URL: https://build.opensuse.org/request/show/782230
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qclib?expand=0&rev=8
2020-03-11 17:32:27 +00:00
Mark Post
688d915292 Accepting request 782229 from home:markkp:branches:hardware
- Added qclib-2.0.1-add-support-for-secure-boot-related-attributes.patch
  Add an attribute in qclib so that we can programmatically detect
  if secure boot is available and active in the current LPAR. (bsc#1165018).

OBS-URL: https://build.opensuse.org/request/show/782229
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=24
2020-03-06 18:22:33 +00:00
Oliver Kurz
b17d2dec48 Accepting request 770574 from hardware
OBS-URL: https://build.opensuse.org/request/show/770574
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qclib?expand=0&rev=7
2020-02-14 15:30:17 +00:00
Tomáš Chvátal
18ef6e4c03 Accepting request 766374 from home:pluskalm:branches:hardware
- Make building more verbose

OBS-URL: https://build.opensuse.org/request/show/766374
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=22
2020-02-06 12:55:23 +00:00
780ebd5a26 Accepting request 766137 from hardware
OBS-URL: https://build.opensuse.org/request/show/766137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qclib?expand=0&rev=6
2020-01-24 13:20:46 +00:00
Mark Post
f41db9f791 Accepting request 766136 from home:markkp:branches:hardware
- Upgraded to version 2.0.1 (bsc#1160745)
  Changes:
  - Retry up to three times when a live guest migration is detected
  Bug fixes:
  - Attribute qc_num_ziip_threads in CEC layer was not correctly set.
  - Do not account zIIPs in layer QC_LAYER_TYPE_ZOS_ZCX_SERVER for
    qc_num_cpu_* attributes.
  - qc_dump: Handle non-writable /tmp

OBS-URL: https://build.opensuse.org/request/show/766136
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=20
2020-01-21 18:54:26 +00:00
beaac27b23 Accepting request 751139 from hardware
OBS-URL: https://build.opensuse.org/request/show/751139
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qclib?expand=0&rev=5
2019-12-02 10:31:22 +00:00
Mark Post
91e138bde8 Accepting request 751137 from home:markkp:branches:hardware
- Upgraded to verson 2.0.0 (jsc#SLE-7867)
  Changes:
  * New attributes in layer CEC:
       * qc_type_name
       * qc_type_family
       * qc_lic_identifier
  * qc_test: Reworked output for subtle consistency improvements
  * Replaced attribute qc_hardlimit_consumption with
    qc_limithard_consumption. Use CONFIG_V1_COMPATIBILITY for previous
    version.
  * Require CONFIG_DUMP_READING in query_capacity.h to allow running from a
    dump. Disabled by default.
  * Disabled v1 compatibility functionality per default. To re-enable,
    activate CONFIG_V1_COMPATIBILITY in query_capacity.h.

OBS-URL: https://build.opensuse.org/request/show/751137
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=17
2019-11-26 20:04:30 +00:00
54686147db Accepting request 699778 from hardware
OBS-URL: https://build.opensuse.org/request/show/699778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qclib?expand=0&rev=4
2019-05-03 20:23:14 +00:00
Mark Post
b02962f022 Accepting request 699777 from home:markkp:branches:hardware
- Upgraded to version 1.4.1 (jsc#SLE-5908)
  Version 1.4.1
  Bug fixes:
  * qc_dump: Don't abort the dump in case qc_test fails.
  * Attributes qc_cp_weight_capping and qc_ifl_weight_capping were set even
    when initial capping was not set in the LPAR's activation profile.
  Version 1.4.0
  Changes:
  * Added SMT support by properly differentiating between cores and CPUs.
  * Added new attributes qc_num_threads_cp and qc_num_threads_ifl to layers
    CEC, LPAR and ZVM_HYPERVISOR.
  * Deprecated attribute qc_mobility_eligible (remains valid for now) and
    replaced with qc_mobility_enabled to match z/VM terminology. Likewise
    switched QC_LAYER_TYPE_ZVM_CPU_POOL to QC_LAYER_TYPE_ZVM_RESOURCE_POOL.
  * Moved build customization defines (e.g. CONFIG_V1_COMPATIBILITY) to
    query_capacity.h.
  * Don't build with textual hypfs per default anymore due to unrecoverable
    issues (see section 'Bug fixes').
  Bug fixes:
  * Added an exception to consistency check to ignore inconsistencies between
    textual hypfs and STHYI for attributes qc_num_cp_total and
    qc_num_ifl_total in the LPAR layer.
  Version 1.3.1
  Bug fixes:
  * Security: Fix PATH attack vulnerability when dumping (see QC_DEBUG=2)
  * STHYI: Add fallback for pre-glibc 2.16 (not using getauxval())
  * Handle mismatching STHYI and /proc/sysinfo layer counts
  * On LPAR, fix incomplete dump of binary hypfs when textual hypfs is mounted
- Dropped obsolete qclib-sles15-fix-mismatch-case-with-STHYI.patch.
- Updated qclib.makefile.libdir.patch to apply cleanly to the new version.
- Made numerous changes to the spec file based on the output from
  spec-cleaner.
- Updated qclib-rpmlintrc file to catch all duplicate file messages
 
- Added qclib-sles15-fix-mismatch-case-with-STHYI.patch
  (bsc#1071687, bsc#1104304).

OBS-URL: https://build.opensuse.org/request/show/699777
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=15
2019-04-30 21:40:06 +00:00
df5fe02484 Accepting request 555781 from hardware
OBS-URL: https://build.opensuse.org/request/show/555781
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qclib?expand=0&rev=3
2017-12-13 10:55:45 +00:00
Mark Post
33019adadd Accepting request 555780 from home:markkp:branches:hardware
- Added qclib-sles15-fix-mismatch-case-with-STHYI.patch (bsc#1071687).

OBS-URL: https://build.opensuse.org/request/show/555780
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=13
2017-12-10 22:55:01 +00:00
cc71d3ab18 Accepting request 546853 from hardware
OBS-URL: https://build.opensuse.org/request/show/546853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qclib?expand=0&rev=2
2017-12-06 07:53:42 +00:00
Mark Post
c06ad21392 Accepting request 546852 from home:markkp:branches:hardware
- Upgraded to version 1.3.0 (bsc#1070359)
  Changes:
  * Added STHYI support in LPAR
  * Added new env variable QC_DEBUG_FILE (see qc_open())
      Note: Failure to open a file for logging is now treated as a fatal error
  * Added script qc_dump to collect debug data in a standardized manner
  * Added attributes qc_layer_uuid and qc_layer_extended_name to LPAR layer
  * /proc/sysinfo parsing: Switch from "KVM/Linux" to the less strict "KVM"
      to detect KVM systems
  * Detect unregistered and closed handles
  * Makefile: Compile SONAME into shared library
  Bug fixes:
  * STHYI: Properly support cc==3&&rc==4 as introduced in APAR VM65419
  * Logs: Fix month in timestamp (was off by 1)
  * qc_test: Fix flags for qc_layer_name in QC_LAYER_TYPE_ZVM_HYPERVISOR
- Dropped obsolete patch qclib.correctly.interpret.sthyi.check.patch

OBS-URL: https://build.opensuse.org/request/show/546852
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=11
2017-11-30 23:24:36 +00:00
dc016d2245 Accepting request 486629 from hardware
Per Factory First policy, package for SLES12 SP3.
Reworked as requested.

OBS-URL: https://build.opensuse.org/request/show/486629
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qclib?expand=0&rev=1
2017-04-14 11:40:29 +00:00
Mark Post
bf06234d73 OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=9 2017-04-07 20:32:42 +00:00
Mark Post
2e2c58af38 OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=8 2017-04-07 20:26:39 +00:00
Mark Post
504c14f236 OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=7 2017-04-07 19:38:53 +00:00
Mark Post
799d7ef5ec OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=6 2017-03-30 17:11:43 +00:00
Mark Post
263d6244b7 Added rpmlintrc as a source file.
OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=5
2017-03-30 16:57:46 +00:00
Mark Post
1c2b89242e OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=4 2017-03-30 16:25:14 +00:00
Mark Post
48772f2fcf OBS-URL: https://build.opensuse.org/package/show/hardware/qclib?expand=0&rev=3 2017-03-30 16:19:28 +00:00