[libvirt] [PATCH 10/12] migration: merge all proto branches into single function