From 9387e51acbbcb676222740f26b98973430ab28e1 Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 20 Jul 2016 13:13:18 +0100 Subject: 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 --- build-root/vagrant/Vagrantfile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'build-root/vagrant/Vagrantfile') diff --git a/build-root/vagrant/Vagrantfile b/build-root/vagrant/Vagrantfile index fac37ead..5b374f2d 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}" -- cgit 1.2.3-korg