Advertisement
Guest User

Untitled

a guest
Nov 4th, 2016
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. #!/bin/bash
  2. export QEMU_AUDIO_DRV="pa"
  3. qemu-system-x86_64 \
  4. -serial none \
  5. -parallel none \
  6. -nodefaults \
  7. -nodefconfig \
  8. -enable-kvm \
  9. -name Windows \
  10. -cpu host,kvm=off,check,hv_vapic,hv_time,hv_relaxed,hv_spinlocks=0x1fff,hv_vendor_id=windhoos \
  11. -smp sockets=1,cores=4,threads=1 \
  12. -m 8192 \
  13. -soundhw hda \
  14. -device usb-ehci,id=ehci \
  15. -device nec-usb-xhci,id=xhci \
  16. -drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/OVMF.fd \
  17. -device virtio-scsi-pci,id=scsi \
  18. -drive file=/dev/sda,id=disk,format=raw,if=none -device scsi-hd,drive=disk \
  19. -boot order=c \
  20. -rtc base=localtime \
  21. -nographic \
  22. -device vfio-pci,host=01:00.0,multifunction=on \
  23. -device vfio-pci,host=01:00.1 \
  24. -device vfio-pci,host=06:00.0 \
  25. -net nic -net user \
  26. -usb -usbdevice host:046d:c31b \
  27. -usb -usbdevice host:045e:02dd
  28. #-usb -usbdevice host:046d:c07d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement