fixed issue where vcpus passed into _set_cpus is coerced into an int because comparissons were failing