[libvirt] [PATCHv3 06/12] conf: Add interface to parse and format memory device information