[PATCH V2 03/20] qemu: Add function to check capability in migration params