[libvirt] [PATCH 2/4] Factor out def assignment to existing domain from virDomainAssignDef