Advertisement
Guest User

Untitled

a guest
Mar 17th, 2018
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. qemu-system-x86_64 \
  2. -name "Windows10-QEMU" \
  3. -machine pc-i440fx-2.9,accel=kvm \
  4. -global ICH9-LPC.disable_s3=1 \
  5. -global ICH9-LPC.disable_s4=1 \
  6. -cpu host,kvm=off,hv_vapic,hv_relaxed,hv_spinlocks=0x1fff,hv_time,hv_vendor_id=12alphanum \
  7. -smp 8,sockets=1,cores=4,threads=2 \
  8. -m 8G \
  9. -mem-path /dev/hugepages \
  10. -mem-prealloc \
  11. -balloon none \
  12. -rtc clock=host,base=localtime \
  13. -vnc 127.0.0.1:1 \
  14. -serial none \
  15. -parallel none \
  16. -k en-us \
  17. -usb -usbdevice tablet \
  18. -device usb-kbd \
  19. -device ioh3420,id=root.1 \
  20. -device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,x-pci-sub-device-id=34058,x-pci-sub-vendor-id=5464,romfile=romfile.bin \
  21. -boot menu=off \
  22. -boot order=c \
  23. -drive id=disk0,if=virtio,cache=none,format=raw,file=WindowsVM.img \
  24. -drive file=windows10.iso,index=1,media=cdrom \
  25. -drive file=virtio-win-0.1.141.iso,index=2,media=cdrom
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement