added ability to find vm location from xml