Add functions to get disk slots and disk type in xml.