Advertisement
Guest User

Simple Start script for qemu

a guest
Jan 13th, 2013
5,865
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.41 KB | None | 0 0
  1. #!/bin/sh
  2. #
  3. # Start Windows XP Pro in QEMU
  4.  
  5. PARAMS=$*
  6.  
  7. # Qemu can use SDL sound instead of the default OSS
  8. export QEMU_AUDIO_DRV=sdl
  9.  
  10.  
  11. # Whereas SDL can play through alsa:
  12. export SDL_AUDIODRIVER=alsa
  13.  
  14. # Change this to the directory where _you_ keep your QEMU images:
  15. cd /opt/qemuimages
  16. qemu -cpu 486 -hda debian.img -m 150m -smp 1 -redir tcp:9022::22 -redir udp:9055::9987 --nographic -daemonize
  17. ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement