Add function for checking disk type in vm xml.