summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRay <ray.kinsella@intel.com>2016-07-20 13:13:18 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2016-07-21 09:35:14 +0000
commit9387e51acbbcb676222740f26b98973430ab28e1 (patch)
treeebe9d93fec18ba72ee33b6312b51a0b11a662985
parent9e6ed6e2e1b8af46a317f9448da2bca8d8c5395d (diff)
build-root/vagrant: Fix SSE4.x for VB
Number of users are reporting issues using VPP with Vagrant and the VirtualBox provider. VPP quits complaining that SSE support is not enabled. This change explicity enables SSE4.x support in the VirtualBox VM. Change-Id: Ia26dc43276aae4179609febfd705d868fa3e07c6 Signed-off-by: Ray <ray.kinsella@intel.com>
-rw-r--r--build-root/vagrant/Vagrantfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/build-root/vagrant/Vagrantfile b/build-root/vagrant/Vagrantfile
index fac37eaddb6..5b374f2da7b 100644
--- a/build-root/vagrant/Vagrantfile
+++ b/build-root/vagrant/Vagrantfile
@@ -64,6 +64,10 @@ Vagrant.configure(2) do |config|
vb.customize ["modifyvm", :id, "--ioapic", "on"]
vb.memory = "#{vmram}"
vb.cpus = "#{vmcpu}"
+
+ #support for the SSE4.x instruction is required in some versions of VB.
+ vb.customize ["setextradata", :id, "VBoxInternal/CPUM/SSE4.1", "1"]
+ vb.customize ["setextradata", :id, "VBoxInternal/CPUM/SSE4.2", "1"]
end
config.vm.provider "vmware_fusion" do |fusion,override|
fusion.vmx["memsize"] = "#{vmram}"