Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- qemu-system-x86_64 \
- -name "Windows10-QEMU" \
- -machine pc-i440fx-2.9,accel=kvm \
- -global ICH9-LPC.disable_s3=1 \
- -global ICH9-LPC.disable_s4=1 \
- -cpu host,kvm=off,hv_vapic,hv_relaxed,hv_spinlocks=0x1fff,hv_time,hv_vendor_id=12alphanum \
- -smp 8,sockets=1,cores=4,threads=2 \
- -m 8G \
- -mem-path /dev/hugepages \
- -mem-prealloc \
- -balloon none \
- -rtc clock=host,base=localtime \
- -vnc 127.0.0.1:1 \
- -serial none \
- -parallel none \
- -k en-us \
- -usb -usbdevice tablet \
- -device usb-kbd \
- -device ioh3420,id=root.1 \
- -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 \
- -boot menu=off \
- -boot order=c \
- -drive id=disk0,if=virtio,cache=none,format=raw,file=WindowsVM.img \
- -drive file=windows10.iso,index=1,media=cdrom \
- -drive file=virtio-win-0.1.141.iso,index=2,media=cdrom
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement