Enable SSE passthrough when starting VM

Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/50665044
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/50665044
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/50665044

Branch: refs/heads/master
Commit: 5066504412cd350a34db4e8f5de0688b9cf0b777
Parents: 5d3e245
Author: Todd Lipcon <[email protected]>
Authored: Tue Aug 16 17:00:21 2016 -0700
Committer: Todd Lipcon <[email protected]>
Committed: Tue Aug 16 17:00:21 2016 -0700

----------------------------------------------------------------------
 demo-vm-setup/setup-kudu-demo-vm.sh | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/50665044/demo-vm-setup/setup-kudu-demo-vm.sh
----------------------------------------------------------------------
diff --git a/demo-vm-setup/setup-kudu-demo-vm.sh 
b/demo-vm-setup/setup-kudu-demo-vm.sh
index 0dd8571..941343a 100755
--- a/demo-vm-setup/setup-kudu-demo-vm.sh
+++ b/demo-vm-setup/setup-kudu-demo-vm.sh
@@ -59,6 +59,10 @@ if ! VBoxManage list vms | grep -q '"kudu-demo"'; then
   VBoxManage sharedfolder add ${VM_NAME} --name examples --hostpath 
$SHARED_FOLDER_PATH --automount
 fi
 
+# Enable SSE4 pass-through.
+VBoxManage setextradata ${VM_NAME} VBoxInternal/CPUM/SSE4.1 1
+VBoxManage setextradata ${VM_NAME} VBoxInternal/CPUM/SSE4.2 1
+
 # Start the VM
 VBoxManage startvm ${VM_NAME}
 

Reply via email to