From 274ad4fca9a0bebc1319fd31d6829216b772ec86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Czern=C3=BD?= Date: Fri, 2 Aug 2024 19:19:59 +0200 Subject: [PATCH] F #6645: Rename vm_crash to vm_qemu_ping (#3189) --- share/doc/xsd/vm.xsd | 1 + src/im_mad/remotes/kvm-probes.d/guestagent.conf | 2 +- src/im_mad/remotes/lib/kvm.rb | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/share/doc/xsd/vm.xsd b/share/doc/xsd/vm.xsd index 2fa5189ff49..97203af4453 100644 --- a/share/doc/xsd/vm.xsd +++ b/share/doc/xsd/vm.xsd @@ -66,6 +66,7 @@ + diff --git a/src/im_mad/remotes/kvm-probes.d/guestagent.conf b/src/im_mad/remotes/kvm-probes.d/guestagent.conf index 4752d242443..95c6dcbbece 100644 --- a/src/im_mad/remotes/kvm-probes.d/guestagent.conf +++ b/src/im_mad/remotes/kvm-probes.d/guestagent.conf @@ -9,4 +9,4 @@ # The $vm_id substring, if existing, will be replaced by the VM ID when the monitoring probes # are looping on each of the VMs on the host. Each command will be run once per VM. :commands: - :vm_crash: "one-$vm_id '{\"execute\":\"guest-ping\"}' --timeout 5" + :vm_qemu_ping: "one-$vm_id '{\"execute\":\"guest-ping\"}' --timeout 5" diff --git a/src/im_mad/remotes/lib/kvm.rb b/src/im_mad/remotes/lib/kvm.rb index 3318a292fda..602c4078952 100644 --- a/src/im_mad/remotes/lib/kvm.rb +++ b/src/im_mad/remotes/lib/kvm.rb @@ -51,7 +51,7 @@ module KVM QEMU_GA = { :enabled => false, :commands => { - :vm_crash => "one-$vm_id \'{\"execute\":\"guest-ping\"}\'" + :vm_qemu_ping => "one-$vm_id \'{\"execute\":\"guest-ping\"}\'" } }