Code: Select all
-device virtio-scsi-pci,id=scsi0 \
-drive file=/dev/sda,id=slon,format=raw,if=none,discard=unmap,aio=native,cache=none \
-device scsi-hd,drive=slon,bus=scsi0.0 \Code: Select all
Disk /dev/sda: 1.84 TiBCode: Select all
exec qemu-system-x86_64 \
-enable-kvm -m 16384 -cpu host,kvm=off \
-smp 6,sockets=1,cores=6,threads=1 \
-device vfio-pci,host=07:00.0,x-vga=on \
-device vfio-pci,host=07:00.1 \
-vga none\
-drive file=/home/user/VirtualMachines/Win10/Win10.qcow2,id=disk,format=qcow2,if=none \
-device ide-hd,bus=ide.0,drive=disk \
-boot menu=on \
-usb \
-device virtio-serial \
-spice port=5900,addr=127.0.0.1,disable-ticketing \
-device usb-host,vendorid=0x413c,productid=0x2003,id=keyboard \
-device usb-host,vendorid=0x046d,productid=0xc537,id=mouse \
-device usb-host,vendorid=0x0d8c,productid=0x0005,id=microphone \
-drive file=/dev/sdb,id=storage,format=raw,if=none \
-device ide-hd,bus=ide.1,drive=storage \
-device virtio-scsi-pci,id=scsi0 \
-drive file=/dev/sda,id=slon,format=raw,if=none,discard=unmap,aio=native,cache=none \
-device scsi-hd,drive=slon,bus=scsi0.0 \
-device ivshmem-plain,memdev=ivshmem,bus=pci.0 \
-object memory-backend-file,id=ivshmem,share=on,mem-path=/dev/shm/looking-glass,size=32M \
-mem-path /dev/hugepages
$@