Advertisement
Guest User

Untitled

a guest
Oct 13th, 2015
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.88 KB | None | 0 0
  1. Linux Bowser 4.1.10-1-vfio-lts #1 SMP PREEMPT Thu Oct 8 12:38:10 CEST 2015 x86_64 GNU/Linux
  2. ------------------------------------------------
  3. ------------------------------------------------
  4. win 10 pro x64 with gtx 680. Bunch of Errors and Code 43 for the GPU
  5. ------------------------------------------------
  6. #!/bin/bash
  7.  
  8. sudo qemu-system-x86_64 -enable-kvm -machine pc -cpu host,kvm=off \
  9. -smp 4,sockets=1,cores=2,threads=2  \
  10. -vga none \
  11. -device vfio-pci,host=05:00.0,addr=1f.0,x-pci-device-id=4480,x-vga=on,multifunction=on \
  12. -device vfio-pci,host=05:00.1,addr=1f.1 \
  13. -device vfio-pci,host=00:1b.0,addr=0f.0 \
  14. -name Windows-10 \
  15. -m 2G \
  16. -boot d \
  17. -cdrom /vm/win10.iso \
  18. -drive file=/vm/ram.img,format=raw \
  19. -usbdevice host:046d:c52b \
  20. -usbdevice host:045e:0291 \
  21. -monitor stdio -s
  22.  
  23.  
  24. exit 0
  25.  
  26. ------------------------------------------------
  27. ------------------------------------------------
  28. OS X Yosemite 10.10.5 with 9600GT. Everything works perfectly fine
  29. ------------------------------------------------
  30.  
  31. #!/bin/bash
  32.  
  33.  
  34. sudo qemu-system-x86_64 -enable-kvm -M q35 -m 14096 -cpu core2duo,hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff \
  35. -smp 8,sockets=2,cores=2,threads=2 \
  36. -device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 \
  37. -device vfio-pci,host=04:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on,romfile=/vm/9600GT.rom \
  38. -boot d \
  39. -drive file=/vm/Clover.iso,if=ide,index=5,media=cdrom \
  40. -hdc /vm/storage.img \
  41. -hda /vm/osxII.img \
  42. -netdev user,id=net0 \
  43. -device e1000-82545em,netdev=net0,mac=DE:AD:BE:EF:AD:3c \
  44. -vga none \
  45. -usb -device usb-host,hostbus=$(lsusb | grep 05ac:0221 | cut -f 2 -d " "),hostaddr=$(lsusb | grep 05ac:0221 | cut -f 4 -d " " | cut -c 1-3) \
  46. -usb -device usb-host,hostbus=$(lsusb | grep 0a12:0001 | cut -f 2 -d " "),hostaddr=$(lsusb | grep 0a12:0001 | cut -f 4 -d " " | cut -c 1-3) \
  47. -monitor stdio -vnc :2
  48.  
  49. exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement