[PATCH V4 03/18] qemu: Add function to check capability in migration params