[libvirt] [PATCH 3/7] conf: make virDomainNetDefFormat a public function