[PATCH V3 03/19] qemu: Add function to check capability in migration params