[libvirt] [PATCHv2 01/10] conf: Add support for parsing and formatting max memory and slot count