[libvirt] [PATCHv3 03/12] conf: Add support for parsing and formatting max memory and slot count