Allow specifying Hypervisor HyperV features (#870)

This commit is contained in:
Antonio Huete Jimenez
2018-03-21 19:00:28 +01:00
committed by Dmitry Vasilets
parent 92dc692b08
commit 6bdff043a7
6 changed files with 48 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ describe 'templates/domain' do
domain.instance_variable_set('@domain_type', 'kvm')
domain.cpu_mode = 'custom'
domain.cpu_feature(name: 'AAA', policy: 'required')
domain.hyperv_feature(name: 'BBB', state: 'on')
domain.cputopology(sockets: '1', cores: '3', threads: '2')
domain.machine_type = 'pc-compatible'
domain.machine_arch = 'x86_64'