def xen_vms(name):
 global conn
 vm_count = conn.numOfDomains()
 return vm_count

def xen_vms ( name ) : global conn vm_count = conn . numOfDomains ( ) return vm_count
return number of virtual is running .