# File lib/virt/kvm/volume.rb, line 16 def name= name super name @name += ".img" unless name.match(/.*\.img$/) end