Advertisement
Jako81624

Untitled

Jun 21st, 2015
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. xrandr --output HDMI-0 --off
  4. sleep 1
  5. killall -SIGUSR1 conky
  6. QEMU_PA_SAMPLES=128 QEMU_AUDIO_DRV=pa
  7. qemu-system-x86_64 -enable-kvm -m 4096 -cpu host,kvm=off -smp 1,cores=4,threads=1 \
  8. -pflash /usr/share/ovmf/x64/ovmf_x64.bin \
  9. -vga none \
  10. -usb -usbdevice host:1b1c:1b09 -usbdevice host:046d:c07d \
  11. -soundhw hda \
  12. -device vfio-pci,host=02:00.0,multifunction=on \
  13. -device vfio-pci,host=02:00.1 \
  14. -device virtio-scsi-pci,id=scsi \
  15. -drive file=/home/jacob/Downloads/Windows.iso,id=isocd,format=raw,if=none -device scsi-cd,drive=isocd \
  16. -drive file=/home/jacob/windows7.img,id=disk,format=raw,if=none,cache=writeback -device scsi-hd,drive=disk \
  17. -boot menu=on
  18. xrandr --output HDMI-0 --auto --right-of DVI-I-0
  19. sleep 1
  20. killall -SIGUSR1 conky
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement