From 99181c4faeccae050391fd4e51b717796fc07f7f Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 28 Mar 2023 09:34:28 +0000 Subject: [PATCH] import virt-top-1.1.1-9.el9 --- .gitignore | 3 +- .virt-top.metadata | 3 +- ...-Handle-VIR_DOMAIN_PMSUSPENDED-state.patch | 40 ---------- ...-explicitly-disconnect-from-libvirtd.patch | 39 ++++++++++ ...top-fix-to-parse-init-file-correctly.patch | 38 ++++++++++ SOURCES/virt-top-1.1.1.tar.gz.sig | 17 +++++ SPECS/virt-top.spec | 74 ++++++++++--------- 7 files changed, 139 insertions(+), 75 deletions(-) delete mode 100644 SOURCES/0001-libvirt-Handle-VIR_DOMAIN_PMSUSPENDED-state.patch create mode 100644 SOURCES/0001-virt-top-fix-to-explicitly-disconnect-from-libvirtd.patch create mode 100644 SOURCES/0002-virt-top-fix-to-parse-init-file-correctly.patch create mode 100644 SOURCES/virt-top-1.1.1.tar.gz.sig diff --git a/.gitignore b/.gitignore index 9164365..453db44 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -SOURCES/virt-top-1.0.9.tar.gz +SOURCES/libguestfs.keyring +SOURCES/virt-top-1.1.1.tar.gz diff --git a/.virt-top.metadata b/.virt-top.metadata index f67f397..a92f23b 100644 --- a/.virt-top.metadata +++ b/.virt-top.metadata @@ -1 +1,2 @@ -95ba1f8d87223ff8e7f341c8c7cb70b59b9d2408 SOURCES/virt-top-1.0.9.tar.gz +1bbc40f501a7fef9eef2a39b701a71aee2fea7c4 SOURCES/libguestfs.keyring +fc97439c120403ef92cbe9d2098a7fc720c02aec SOURCES/virt-top-1.1.1.tar.gz diff --git a/SOURCES/0001-libvirt-Handle-VIR_DOMAIN_PMSUSPENDED-state.patch b/SOURCES/0001-libvirt-Handle-VIR_DOMAIN_PMSUSPENDED-state.patch deleted file mode 100644 index c29b6d6..0000000 --- a/SOURCES/0001-libvirt-Handle-VIR_DOMAIN_PMSUSPENDED-state.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 24a461715d5bce47f63cb0097606fc336230589f Mon Sep 17 00:00:00 2001 -From: Stephane Glondu -Date: Wed, 21 Aug 2019 17:24:47 +0200 -Subject: [PATCH] libvirt: Handle VIR_DOMAIN_PMSUSPENDED state. - -Fixes FTBFS with ocaml-libvirt 0.6.1.5. - -RWMJ: Added documentation and changed the letter to 'M'. ---- - src/screen.ml | 1 + - src/virt-top.pod | 4 ++++ - 2 files changed, 5 insertions(+) - -diff --git a/src/screen.ml b/src/screen.ml -index 0d847a2..8a66ba6 100644 ---- a/src/screen.ml -+++ b/src/screen.ml -@@ -50,3 +50,4 @@ let show_state = function - | D.InfoShutdown -> 'D' - | D.InfoShutoff -> 'O' - | D.InfoCrashed -> 'X' -+ | D.InfoPMSuspended -> 'M' -diff --git a/src/virt-top.pod b/src/virt-top.pod -index 4d81608..76ad3f9 100644 ---- a/src/virt-top.pod -+++ b/src/virt-top.pod -@@ -492,6 +492,10 @@ Shutdown. - - Crashed. - -+=item B -+ -+Suspended by guest power management. -+ - =back - - =item B