File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
linux/vtpm_cold_add_remove Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11# Copyright 2026 VMware, Inc.
22# SPDX-License-Identifier: BSD-2-Clause
33---
4- - name : " Set fact of the maximum vCPU number of hot add test "
4+ - name : " Set the vtpm_cpus and vtpm_cpu_cores_per_socket facts to their default values "
55 ansible.builtin.set_fact :
66 vtpm_cpus : " {{ (guest_config_options.rec_cpu_cores_per_socket | int * guest_config_options.rec_cpu_socket | int) | default(2) }}"
77 vtpm_cpu_cores_per_socket : " {{ guest_config_options.rec_cpu_cores_per_socket | default(1) }}"
88
99- name : " Get CPU info"
1010 include_tasks : ../../common/vm_get_cpu_info.yml
1111
12- - name : Set fact of the test cores per socket value
12+ - name : " Set the vtpm_num_cpus fact when the current CPU count and cores per socket match the default values "
1313 ansible.builtin.set_fact :
1414 vtpm_num_cpus : " {{ vtpm_cpus + vtpm_cpu_cores_per_socket }}"
1515 when :
You can’t perform that action at this time.
0 commit comments