Use more efficient python API to get VM information