From 6e0438526d46b725c39d6c51b09b634326110ae1 Mon Sep 17 00:00:00 2001 From: Alejandro Huertas Herrero Date: Thu, 17 Oct 2019 12:24:49 +0200 Subject: [PATCH] F #3851: get host CPU model in KVM monitor script (#3852) --- src/im_mad/remotes/kvm-probes.d/machines-models.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/src/im_mad/remotes/kvm-probes.d/machines-models.rb b/src/im_mad/remotes/kvm-probes.d/machines-models.rb index ad559b565f..7edbdb7b02 100755 --- a/src/im_mad/remotes/kvm-probes.d/machines-models.rb +++ b/src/im_mad/remotes/kvm-probes.d/machines-models.rb @@ -105,6 +105,7 @@ begin puts "KVM_MACHINES=\"#{machines.join(' ')}\"" puts "KVM_CPU_MODELS=\"#{models.join(' ')}\"" + puts "KVM_CPU_MODEL=\"#{cap_xml.elements['host/cpu/model'].text}\"" rescue end