[libvirt] [PATCHv2 04/10] conf: Add interface to parse and format memory device information