[libvirt] Matching the type of mediated devices in the migration