# File lib/virt/connection.rb, line 42 def host case type when "KVM" KVM::Host.new when "VMWare" VMWare::Host.new else raise "Non supported hypervisor" end end