kvm: set range values from separate parameters. retire original string range parameter.
give range argument to rand function.