mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Add vcpupin support (#1007)
Support tuning to pin which host CPUs the vCPUs will be pinned to.
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
<memory nodeset='1-4,^3,6'/>
|
||||
</numatune>
|
||||
<cputune>
|
||||
<vcpupin vcpu="0" cpuset="0" />
|
||||
<shares>1024</shares>
|
||||
</cputune>
|
||||
<os>
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user