Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

kvm_stat-6.12.0-lp160.1.2 RPM for noarch

From OpenSuSE Leap 16.0 for noarch

Name: kvm_stat Distribution: openSUSE Leap 16.0
Version: 6.12.0 Vendor: openSUSE
Release: lp160.1.2 Build date: Thu Feb 22 13:42:08 2024
Group: System/Monitoring Build host: reproducible
Size: 67256 Source RPM: kvm_stat-6.12.0-lp160.1.2.src.rpm
Packager: https://bugs.opensuse.org
Url: http://www.kernel.org/
Summary: Monitoring Tool for KVM guests
This package provides a userspace tool "kvm_stat", which displays KVM vm exit
information as a means of monitoring vm behavior. The data is taken from the
KVM debugfs files or the vm tracepoints and outputs them as a curses ui or
simple text.

Provides

Requires

License

GPL-2.0-only

Changelog

* Thu Feb 22 2024 Dominique Leuenberger <dimstar@opensuse.org>
  - Use %patch -P N instead of deprecated %patchN.
* Fri Dec 30 2022 Dominique Leuenberger <dimstar@opensuse.org>
  - Apply tools-kvm_stat-fix-attack-vector-with-user-controlle.patch
    only on kernel < 6.1. Starting with 6.1, the fix is included.
* Fri Oct 28 2022 Dario Faggioli <dfaggioli@suse.com>
  - Fix security issue about debugfs described in bsc#1202924
    * Added patches:
      tools-kvm_stat-fix-attack-vector-with-user-controlle.patch
* Wed Aug 31 2022 Stefan Schubert <schubi@intern>
  - Migration to /usr/etc: Saving user changed configuration files
    in /etc and restoring them while an RPM update.
* Tue Jun 21 2022 Stefan Schubert <schubi@suse.com>
  - Moved logrotate files from user specific directory /etc/logrotate.d
    to vendor specific directory /usr/etc/logrotate.d.
* Wed Jul 07 2021 Al Cho <acho@suse.com>
  - If the kvm service is enabled and the system rebooted,
    Systemd's initial attempt to start the kvm unit file may
    fail in case the kvm module is not loaded.
    Add an appropriate delay in the unit file. (bsc#1185945)
    * Add patches:
    * add-restart-delay.patch
* Thu Jan 28 2021 Dominique Leuenberger <dimstar@opensuse.org>
  - Add a dummy -rebuild package: give OBS/Tumbleweed a hint to tell
    when this package needs a rebuild (boo#1178493).
* Thu Jan 28 2021 Dario Faggioli <dfaggioli@suse.com>
  - Install the systemd unit file in the proper place, so that the
    service can be started right away, if the user wants that, without
    having to copy the file in the units directory.
  - Integrate with logrotate, by providing a  logrotate config file, as
    the logs can easily become very big.
* Fri Jan 08 2021 Dario Faggioli <dfaggioli@suse.com>
  - Get rid of the stale patch file.
* Fri Jan 08 2021 Dario Faggioli <dfaggioli@suse.com>
  - Remove broken patch tools-kvm_stat-explicitly-reference-python3.patch
    * the patch does not apply any longer, at least on top of
      Kernel source packages does the same (i.e., replacing /usr/bin/env)
      in their own kernel-source.spec;
    * therefore, let's take care of that directly inside of our own spec
      file instead, which is a solution that always work, no matter what
      has been done in the Kernel source package.
* Wed Dec 23 2020 Dario Faggioli <dfaggioli@suse.com>
  - Fix kernel version comparison for selectively applying patches
    * so that it won't break when, e.g., 5.10.0 hits Factory
* Fri Dec 04 2020 Dario Faggioli <dfaggioli@suse.com>
  - Include the example service file in the package
    * install it in /usr/share/kvm_stat
    * this deals properly with bsc#1179469
* Fri Nov 13 2020 Dario Faggioli <dfaggioli@suse.com>
  - Implement jsc#SLE-13784
    * Add patches:
    * rework-command-line-sequence.patch
    * switch-to-argparse.patch
    * add-command-line-switch-s-to-update.patch
    * add-command-line-switch-c-to-csv.patch
    * add-command-line-switch-z-skip-zero-records.patch
    * add-command-line-switch-L-to-log-file.patch
    * add-sample-systemd-unit.patch
    * patching is conditional, depending on kernel version
* Wed Mar 11 2020 Bruce Rogers <brogers@suse.com>
  - Remove legacy compatability patching, since that usage no longer
    needs to be single sourced with this current package. Python3 is
    now assumed. Also get rid of the final patch based on running
    2to3, since those changes are not really needed: the kvm_stat now
    in the current kernel source is good python3 code
    Patches removed:
    0001-tools-kvm_stat-fix-event-counts-display-for-interrup.patch
    0002-tools-kvm_stat-fix-undue-use-of-initial-sleeptime.patch
    0003-tools-kvm_stat-remove-unnecessary-header-redraws.patch
    0004-tools-kvm_stat-simplify-line-print-logic.patch
    0005-tools-kvm_stat-remove-extra-statement.patch
    0006-tools-kvm_stat-simplify-initializers.patch
    0007-tools-kvm_stat-move-functions-to-corresponding-class.patch
    0008-tools-kvm_stat-show-cursor-in-selection-screens.patch
    0009-tools-kvm_stat-display-message-indicating-lack-of-ev.patch
    0010-tools-kvm_stat-make-heading-look-a-bit-more-like-top.patch
    0011-tools-kvm_stat-rename-Current-column-to-CurAvg-s.patch
    0012-tools-kvm_stat-add-new-interactive-command-h.patch
    0013-tools-kvm_stat-add-new-interactive-command-s.patch
    0014-tools-kvm_stat-add-new-interactive-command-o.patch
    0015-tools-kvm_stat-display-guest-list-in-pid-guest-selec.patch
    0016-tools-kvm_stat-fix-error-on-interactive-command-g.patch
    0017-tools-kvm_stat-add-new-command-line-switch-i.patch
    0018-tools-kvm_stat-add-new-interactive-command-b.patch
    0019-tools-kvm_stat-add-f-help-to-get-the-available-event.patch
    0020-tools-kvm_stat-Add-Python-3-support-to-kvm_stat.patch
    0021-tools-kvm_stat-fix-command-line-option-g.patch
    0022-tools-kvm_stat-fix-drilldown-in-events-by-guests-mod.patch
    0023-tools-kvm_stat-fix-missing-field-update-after-filter.patch
    0024-tools-kvm_stat-fix-extra-handling-of-help-with-field.patch
    0025-tools-kvm_stat-add-hint-on-f-help-to-man-page.patch
    0026-tools-kvm_stat-fix-child-trace-events-accounting.patch
    0027-tools-kvm_stat-handle-invalid-regular-expressions.patch
    0028-tools-kvm_stat-suppress-usage-information-on-command.patch
    0029-tools-kvm_stat-stop-ignoring-unhandled-arguments.patch
    0030-tools-kvm_stat-add-line-for-totals.patch
    0031-tools-kvm_stat-sort-f-help-output.patch
    0032-tools-kvm_stat-simplify-the-sortkey-function.patch
    0033-tools-kvm_stat-use-a-namedtuple-for-storing-the-valu.patch
    0034-tools-kvm_stat-use-a-more-pythonic-way-to-iterate-ov.patch
    0035-tools-kvm_stat-avoid-is-for-equality-checks.patch
    0036-tools-kvm_stat-fix-crash-when-filtering-out-all-non-.patch
    0037-tools-kvm_stat-print-error-on-invalid-regex.patch
    0038-tools-kvm_stat-fix-debugfs-handling.patch
    0039-tools-kvm_stat-mark-private-methods-as-such.patch
    0040-tools-kvm_stat-eliminate-extra-guest-pid-selection-d.patch
    0041-tools-kvm_stat-separate-drilldown-and-fields-filteri.patch
    0042-tools-kvm_stat-group-child-events-indented-after-par.patch
    0043-tools-kvm_stat-print-Total-line-for-multiple-events-.patch
    0044-tools-kvm_stat-Don-t-use-deprecated-file.patch
    0045-tools-kvm_stat-fix-python3-issues.patch
    0046-tools-kvm_stat-apply-python-2to3-fixes-to-kvm_stat.patch
    0047-tools-kvm_stat-apply-python-2to3-fixes-to-kvm_stat2.patch
    0048-tools-kvm_stat-apply-python-2to3-fixes-to-kvm_stat3.patch
    0049-tools-kvm_stat-switch-python-reference-to-be-explici.patch
    0050-tools-kvm_stat-switch-python-reference-again.patch
    Patches added:
    tools-kvm_stat-explicitly-reference-python3.patch
* Tue Sep 24 2019 Bruce Rogers <brogers@suse.com>
  - Fix our patching for Leap 15.1 (boo#1140899)
* Thu Sep 12 2019 Bruce Rogers <brogers@suse.com>
  - Detect SLE15-SP2 / Leap 15.2 and patch accordingly
* Tue Aug 06 2019 Bruce Rogers <brogers@suse.com>
  - Adjust a patch that no longer applies due to upstream (non-code)
    changes
* Thu Mar 14 2019 Bruce Rogers <brogers@suse.com>
  - Add python3 tweak to be compatible with v5.0 kernel source
    (bsc#1116822)
    + 0050-tools-kvm_stat-switch-python-reference-again.patch
* Thu Nov 29 2018 Larry Dewey <ldewey@suse.com>
  * Changed the spec file to build SLE15-SP1 with the s390x patches,
    and added logic to the spec file to uniquely build Factory and
    SLE-15 as they do not require the first 44 patches, and the code
    base is not the same
  - Making kvm_stat use python3 for openSUSE (bsc#1116822)
    - 0047-tools-kvm_stat-switch-python-reference-to-be-explici.patch
    + 0047-tools-kvm_stat-apply-python-2to3-fixes-to-kvm_stat2.patch
    + 0048-tools-kvm_stat-apply-python-2to3-fixes-to-kvm_stat3.patch
    + 0049-tools-kvm_stat-switch-python-reference-to-be-explici.patch
* Mon Nov 26 2018 Bruce Rogers <brogers@suse.com>
  - Make kvm_stat use python3 (bsc#1116822)
    + 0044-tools-kvm_stat-Don-t-use-deprecated-file.patch
    + 0045-tools-kvm_stat-fix-python3-issues.patch
    + 0046-tools-kvm_stat-apply-python-2to3-fixes-to-kvm_stat.patch
    + 0047-tools-kvm_stat-switch-python-reference-to-be-explici.patch
* Mon Nov 19 2018 Larry Dewey <ldewey@suse.com>
  * Incorporating patches and comments produced by Fei Li for
    SLE15-SP1
  - Backport 43 kvm_stat patches between kernel v4.16-* and current
    v4.12.14 for the kvm_stat package. Actually some of the patches
    are s390x specific, and some are noarch. (FATE#325017)
    + 0001-tools-kvm_stat-fix-event-counts-display-for-interrup.patch
    + 0002-tools-kvm_stat-fix-undue-use-of-initial-sleeptime.patch
    + 0003-tools-kvm_stat-remove-unnecessary-header-redraws.patch
    + 0004-tools-kvm_stat-simplify-line-print-logic.patch
    + 0005-tools-kvm_stat-remove-extra-statement.patch
    + 0006-tools-kvm_stat-simplify-initializers.patch
    + 0007-tools-kvm_stat-move-functions-to-corresponding-class.patch
    + 0008-tools-kvm_stat-show-cursor-in-selection-screens.patch
    + 0009-tools-kvm_stat-display-message-indicating-lack-of-ev.patch
    + 0010-tools-kvm_stat-make-heading-look-a-bit-more-like-top.patch
    + 0011-tools-kvm_stat-rename-Current-column-to-CurAvg-s.patch
    + 0012-tools-kvm_stat-add-new-interactive-command-h.patch
    + 0013-tools-kvm_stat-add-new-interactive-command-s.patch
    + 0014-tools-kvm_stat-add-new-interactive-command-o.patch
    + 0015-tools-kvm_stat-display-guest-list-in-pid-guest-selec.patch
    + 0016-tools-kvm_stat-fix-error-on-interactive-command-g.patch
    + 0017-tools-kvm_stat-add-new-command-line-switch-i.patch
    + 0018-tools-kvm_stat-add-new-interactive-command-b.patch
    + 0019-tools-kvm_stat-add-f-help-to-get-the-available-event.patch
    + 0020-tools-kvm_stat-Add-Python-3-support-to-kvm_stat.patch
    + 0021-tools-kvm_stat-fix-command-line-option-g.patch
    + 0022-tools-kvm_stat-fix-drilldown-in-events-by-guests-mod.patch
    + 0023-tools-kvm_stat-fix-missing-field-update-after-filter.patch
    + 0024-tools-kvm_stat-fix-extra-handling-of-help-with-field.patch
    + 0025-tools-kvm_stat-add-hint-on-f-help-to-man-page.patch
    + 0026-tools-kvm_stat-fix-child-trace-events-accounting.patch
    + 0027-tools-kvm_stat-handle-invalid-regular-expressions.patch
    + 0028-tools-kvm_stat-suppress-usage-information-on-command.patch
    + 0029-tools-kvm_stat-stop-ignoring-unhandled-arguments.patch
    + 0030-tools-kvm_stat-add-line-for-totals.patch
    + 0031-tools-kvm_stat-sort-f-help-output.patch
    + 0032-tools-kvm_stat-simplify-the-sortkey-function.patch
    + 0033-tools-kvm_stat-use-a-namedtuple-for-storing-the-valu.patch
    + 0034-tools-kvm_stat-use-a-more-pythonic-way-to-iterate-ov.patch
    + 0035-tools-kvm_stat-avoid-is-for-equality-checks.patch
    + 0036-tools-kvm_stat-fix-crash-when-filtering-out-all-non-.patch
    + 0037-tools-kvm_stat-print-error-on-invalid-regex.patch
    + 0038-tools-kvm_stat-fix-debugfs-handling.patch
    + 0039-tools-kvm_stat-mark-private-methods-as-such.patch
    + 0040-tools-kvm_stat-eliminate-extra-guest-pid-selection-d.patch
    + 0041-tools-kvm_stat-separate-drilldown-and-fields-filteri.patch
    + 0042-tools-kvm_stat-group-child-events-indented-after-par.patch
    + 0043-tools-kvm_stat-print-Total-line-for-multiple-events-.patch
* Fri Nov 09 2018 Bruce Rogers <brogers@suse.com>
  - Add "Requires: python-curses" in kvm_stat.spec as this package
    needs to be installed to make kvm_stat work. (bsc#1114465)
* Thu Jul 26 2018 brogers@suse.com
  - Add a qemu package conflicts directive since SLE releases provided
    the kvm_stat script via the qemu package, while older openSUSE
    releases had provided it through qemu-kvm, which is already
    handled. (bsc#1102746 related)
  - Change package to be noarch. kvm_stat is written in python, and
    is useful to multiple architectures which have kvm support.
  - Drop the kernel README and CREDITS files, since they don't really
    represent this package in any meaningful way.
  - Minor spec file tweaks performed.
* Thu Dec 07 2017 dimstar@opensuse.org
  - Escape the usage of %{VERSION} when calling out to rpm.
    RPM 4.14 has %{VERSION} defined as 'the main packages version'.
* Sun Oct 30 2016 jengelh@inai.de
  - Simplify copying around
* Mon Oct 17 2016 brogers@suse.com
  - soften runtime Requires kernel version to a Recommends since it
    really doesn't fully enforce anything which is "required".
* Mon Oct 17 2016 brogers@suse.com
  - fix conflicts line to be against qemu-kvm, not qemu.
* Wed Jun 22 2016 brogers@suse.com
  - initial check-in of kvm_stat package. Previously the kvm_stat
    tool was included with the qemu sources, but because kvm_stat simply
    represents kvm module information, as of v4.7.0 of the linux kernel,
    kvm_stat was included in the tools directory under the linux source,
    hence this package was born.

Files

/usr/bin/kvm_stat
/usr/etc/logrotate.d/kvm_stat
/usr/lib/systemd/system/kvm_stat.service
/usr/sbin/rckvm_stat
/usr/share/licenses/kvm_stat
/usr/share/licenses/kvm_stat/COPYING
/usr/share/man/man1/kvm_stat.1.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Wed Feb 5 00:02:08 2025