Created
November 8, 2017 15:05
-
-
Save raminfp/b2ceb9b25e7858d11334e98d6aabd87f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #!/usr/bin/bash | |
| qemu-system-x86_64 \ | |
| -hda wheezy.img \ | |
| -m 2G \ | |
| -smp 2 \ | |
| -net user,hostfwd=tcp::10021-:22 -net nic \ | |
| -nographic \ | |
| -kernel arch/x86/boot/bzImage \ | |
| -append "console=ttyS0 root=/dev/sda debug earlyprintk=serial slub_debug=QUZ"\ | |
| -enable-kvm \ | |
| -pidfile vm.pid \ | |
| 2>&1 | tee vm.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment