Created
June 2, 2020 19:51
-
-
Save s-kostyuk/b8940413cc4334092a6fcc58661e0278 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
exec \ | |
/home/srgk/Downloads/qemu-5.0.0/x86_64-softmmu/qemu-system-x86_64 \ | |
-enable-kvm \ | |
-cpu host,kvm=off \ | |
-drive file=WindowsVM.img,if=virtio \ | |
-net nic -net user,hostname=windowsvm \ | |
-m 2G \ | |
-monitor stdio \ | |
-name "Windows" \ | |
-device vfio-pci,host=00:1f.3,multifunction=on,x-no-mmap \ | |
-trace events=/home/srgk/temp/vm_trace.config \ | |
"$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment