qemu-system-x86_64 -name gaming -M pc,accel=kvm -nographic
-m 12G -mem-path /dev/hugepages -cpu host,kvm=off,hv_relaxed,hv_spinlocks=0x1fff,hv_time,hv_reset,hv_runtime,hv_crash,hv_vpindex,hv_vendor_id=NetworkBreak
-smp sockets=1,cores=6,threads=1
-object iothread,id=gaming0
-object iothread,id=gaming1
-vga none -nodefconfig
-drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/ovmf_code_x64.bin
-drive if=pflash,format=raw,file=/SSD/ovmf_gaming.bin
-device vfio-pci,host=05:00.0,multifunction=on,romfile=/SSD/GTX770.rom
-device vfio-pci,host=05:00.1
-device vfio-pci,host=0f:00.0
-device vfio-pci,host=10:00.0
-device virtio-scsi-pci,id=scsi0,ioeventfd=on,num_queues=8,iothread=gaming0,iothread=gaming1
-drive file=/SSD/Win_Gaming.img,cache=none,format=raw,if=none,id=drive0,aio=native
-device scsi-hd,drive=drive0,heads=16,cyls=65535,secs=8
-drive file=/SSD/Win_Gaming_E.img,cache=none,format=raw,if=none,id=drive1,aio=native
-device scsi-hd,drive=drive1,heads=16,cyls=65535,secs=8
-device driver=ide-cd,bus=ide.0,drive=cd0
-drive file=/SSD/Windows10.iso,id=cd0,if=none,format=raw,readonly
-device driver=ide-cd,bus=ide.1,drive=cd1
-drive id=cd1,if=none,format=raw,file=/usr/share/virtio/virtio-win.iso
-rtc clock=host,base=localtime
-netdev bridge,id=br0 -device virtio-net-pci,ioeventfd=on,netdev=br0,id=nic0,mac=B8:A7:2A:6E:09:B4
-monitor unix:/tmp/vm_gaming,server,nowait &
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
If you enjoyed what you read here, create your account today and start earning FREE STEEM!