Added functionality to retrieve virtual cpu number for domain