Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- export QEMU_AUDIO_DRV="pa"
- qemu-system-x86_64 \
- -serial none \
- -parallel none \
- -nodefaults \
- -nodefconfig \
- -enable-kvm \
- -name Windows \
- -cpu host,kvm=off,check,hv_vapic,hv_time,hv_relaxed,hv_spinlocks=0x1fff,hv_vendor_id=windhoos \
- -smp sockets=1,cores=4,threads=1 \
- -m 8192 \
- -soundhw hda \
- -device usb-ehci,id=ehci \
- -device nec-usb-xhci,id=xhci \
- -drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/OVMF.fd \
- -device virtio-scsi-pci,id=scsi \
- -drive file=/dev/sda,id=disk,format=raw,if=none -device scsi-hd,drive=disk \
- -boot order=c \
- -rtc base=localtime \
- -nographic \
- -device vfio-pci,host=01:00.0,multifunction=on \
- -device vfio-pci,host=01:00.1 \
- -device vfio-pci,host=06:00.0 \
- -net nic -net user \
- -usb -usbdevice host:046d:c31b \
- -usb -usbdevice host:045e:02dd
- #-usb -usbdevice host:046d:c07d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement