lib/vagrant-libvirt/templates/domain.xml.erb in vagrant-libvirt-0.0.4 vs lib/vagrant-libvirt/templates/domain.xml.erb in vagrant-libvirt-0.0.5
- old
+ new
@@ -1,8 +1,16 @@
<domain type='<%= @domain_type %>'>
<name><%= @name %></name>
<memory><%= @memory_size %></memory>
<vcpu><%= @cpus %></vcpu>
+
+ <% if @nested %>
+ <cpu match='exact'>
+ <model>core2duo</model>
+ <feature policy='require' name='vmx'/>
+ </cpu>
+ <% end %>
+
<os>
<type arch='x86_64'>hvm</type>
<boot dev='hd'/>
</os>
<features>