mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Allow specifying Hypervisor HyperV features (#870)
This commit is contained in:
committed by
Dmitry Vasilets
parent
92dc692b08
commit
6bdff043a7
@@ -24,6 +24,9 @@
|
||||
<acpi/>
|
||||
<apic/>
|
||||
<pae/>
|
||||
<hyperv>
|
||||
<BBB state='on' />
|
||||
</hyperv>
|
||||
</features>
|
||||
<clock offset='utc'/>
|
||||
<devices>
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user