Add support for spinlocks hyperv feature

This commit is contained in:
Zdenek Zambersky
2019-09-04 20:57:15 +02:00
parent 98ff2dfb51
commit 3b1b17a5c9
6 changed files with 22 additions and 4 deletions

View File

@@ -34,6 +34,7 @@
<pae/>
<hyperv>
<BBB state='on' />
<spinlocks state='on' retries='4096' />
</hyperv>
</features>
<clock offset='variable'>

View File

@@ -43,6 +43,7 @@ describe 'templates/domain' do
domain.clock_offset = 'variable'
domain.clock_timer(name: 't1')
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.machine_type = 'pc-compatible'
domain.machine_arch = 'x86_64'