Add vcpupin support (#1007)

Support tuning to pin which host CPUs the vCPUs will be pinned to.
This commit is contained in:
Who? Me?!
2022-10-08 05:14:08 -05:00
committed by GitHub
parent 629ead3140
commit 35e3730abf
6 changed files with 40 additions and 5 deletions

View File

@@ -14,6 +14,7 @@
<memory nodeset='1-4,^3,6'/>
</numatune>
<cputune>
<vcpupin vcpu="0" cpuset="0" />
<shares>1024</shares>
</cputune>
<os>

View File

@@ -67,6 +67,7 @@ describe 'templates/domain' do
domain.clock_timer(name: 't2', track: 'b', tickpolicy: 'c', frequency: 'd', mode: 'e', present: 'yes')
domain.hyperv_feature(name: 'spinlocks', state: 'on', retries: '4096')
domain.cputopology(sockets: '1', cores: '3', threads: '2')
domain.cpuaffinitiy(0 => '0')
domain.machine_type = 'pc-compatible'
domain.machine_arch = 'x86_64'
domain.loader = '/efi/loader'