Created
June 11, 2013 15:00
-
-
Save kingargyle/5757589 to your computer and use it in GitHub Desktop.
A set of shell scripts that allow toggling between KVM and Virtualbox. Useful when you need to use the Android emulator but also need to use Virtual Box on Linux as well.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo /sbin/rmmod kvm_intel | |
sudo /sbin/rmmod kvm | |
sudo /etc/init.d/vboxdrv start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
/etc/init.d/vboxdrv stop | |
/sbin/insmod /lib/modules/`uname -r`/kernel/arch/x86/kvm/kvm.ko | |
/sbin/insmod /lib/modules/`uname -r`/kernel/arch/x86/kvm/kvm-intel.ko |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment