[libvirt] [PATCH 07/10] conf: refactor virDomainResctrlAppend