def METHOD_NAME(vm, current_cpus, total_cpus, vcpu_threads):
    for cpu in range(current_cpus, total_cpus):
        error_context.context("hot-pluging vCPU %s" % cpu, test.log.info)
        vm.hotplug_vcpu(cpu_id=cpu, plug_command=hotplug_cmd)
        time.sleep(0.1)
    time.sleep(5)