Update related files to make them support multiple VMs defined in the Lisa XML

Update related files to make them support multiple VMs defined in the
Lisa XML