mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Pass memAccess attribute to <numa> memory backing definitions (#1049)
This can be used to set up shared memory backing e.g. for vhost-user.
This commit is contained in:
parent
d87fabe777
commit
a10351507e
@ -27,7 +27,7 @@
|
||||
<%- if @numa_nodes -%>
|
||||
<numa>
|
||||
<%- @numa_nodes.each_with_index do |node, index| -%>
|
||||
<cell id='<%= index %>' cpus='<%= node[:cpus] %>' memory='<%= node[:memory] %>'/>
|
||||
<cell id='<%= index %>' cpus='<%= node[:cpus] %>' memory='<%= node[:memory] %>'<% if node.key?(:memAccess) %> memAccess='<%= node[:memAccess] %>'<% end %>/>
|
||||
<%- end -%>
|
||||
</numa>
|
||||
<%- end -%>
|
||||
|
Loading…
Reference in New Issue
Block a user