def METHOD_NAME(benchmark_spec):
  """Install Unixbench on the target vm.
  Args:
    benchmark_spec: The benchmark specification. Contains all data that is
        required to run the benchmark.
  """
  vms = benchmark_spec.vms
  vm = vms[0]
  logging.info('Unixbench prepare on %s', vm)
  vm.Install('unixbench')
  if FLAGS.unixbench_all_cores:
    vm.PushDataFile(UNIXBENCH_PATCH_FILE)
    vm.RemoteCommand('cp %s %s' %
                     (UNIXBENCH_PATCH_FILE, unixbench.UNIXBENCH_DIR))
    vm.RemoteCommand('cd %s && patch ./Run %s' %
                     (unixbench.UNIXBENCH_DIR, UNIXBENCH_PATCH_FILE))