mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
added back block to remove nested cpu elements if host-passthrough is set, UNLESS numa_nodes is set
This commit is contained in:
parent
45e41e2e10
commit
10ed9fbc7e
@ -128,6 +128,13 @@ module VagrantPlugins
|
||||
cpu.delete_element(svm_feature)
|
||||
end
|
||||
end
|
||||
elsif config.numa_nodes == nil
|
||||
unless cpu.elements.to_a.empty?
|
||||
descr_changed = true
|
||||
cpu.elements.each do |elem|
|
||||
cpu.delete_element(elem)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# Graphics
|
||||
|
Loading…
Reference in New Issue
Block a user