This is helper script that finds port to bind for qemu spice interface.
Usage
find_free_port nnnn
where nnnn is number of port to start search from.
This allows not to reserve port for each of your VMs. Typically you have much more stopped VMs than running, because VM consume many resources. And TCP ports are precious - there are just 65535 of them.