mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Do not include features/model when cpu_mode = host-passthrough
This commit is contained in:
@@ -5,9 +5,11 @@
|
||||
|
||||
<% if @nested %>
|
||||
<cpu mode='<%= @cpu_mode %>'>
|
||||
<% unless @cpu_mode == 'host-passthrough' %>
|
||||
<model fallback='allow'>qemu64</model>
|
||||
<feature policy='optional' name='vmx'/>
|
||||
<feature policy='optional' name='svm'/>
|
||||
<% end %>
|
||||
</cpu>
|
||||
<% end %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user