added back block to remove nested cpu elements if host-passthrough is set, UNLESS numa_nodes is set

This commit is contained in:
Homero Pawlowski 2017-08-11 16:27:28 -04:00
parent 45e41e2e10
commit 10ed9fbc7e

View File

@ -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