spacepaste

  1.  
  2. #!/usr/bin/env sh
  3. qemu-system-x86_64 \
  4. -enable-kvm \
  5. -m 16384 -cpu host,kvm=off -smp 6,sockets=1,threads=1 \
  6. -device vfio-pci,host=2a:00.0,x-vga=on \
  7. -device vfio-pci,host=2a:00.1 \
  8. -drive id=win,file=/dev/sdb,if=none,format=raw \
  9. -device ahci,id=ahci \
  10. -device ide-drive,drive=win,bus=ahci.0 \
  11. -drive id=storage,file=/dev/sdc,if=none,format=raw \
  12. -device ide-drive,drive=storage,bus=ahci.1 \
  13. -usbdevice host:04d9:1818 \
  14. -usbdevice host:046d:c245 \
  15. -usbdevice host:045e:028e \
  16. -vga none
  17. #-drive file=/dev/sdc,if=ide,index=1,media=disk,format=raw
  18.