[libvirt] [PATCH 13/24] conf: Separate helper for creating domain objects