one_vmm_kvm.rb.patch

Tries, but dont gets one to correctly discern virsh running state wenn shut off - Marlon Nerling, 03/30/2009 01:49 PM

Download (568 Bytes)

View differences:

one_vmm_kvm.rb.pre_patch 2009-03-30 13:46:22.000000000 +0200
238 238
                        info += "USEDMEMORY=" + (columns[1].to_i).to_s
239 239
                when 'State'
240 240
                      case columns[1]
241
                          when "running","blocked","shutdown","dying"
241
                          when "running","blocked","shutdown","dying","shut","shut off"
242 242
                              state = "a"
243 243
                          when "paused"
244 244
                              state = "p"