[libvirt] [PATCH v3 12/14] migration: reuse parameters check in toURI2 and toURI3