14 lines
575 B
Bash
Executable file
14 lines
575 B
Bash
Executable file
#!/bin/bash
|
|
## Windows 10 Virtio VM
|
|
qemu-system-x86_64 -enable-kvm \
|
|
-cpu host \
|
|
-drive file=/media/platvoeten/Downloads/virtio-win-0.1.126.iso,index=3,media=cdrom \
|
|
-cdrom /dev/cdrom \
|
|
-drive format=raw,file=/media/platvoeten/VM/windows10.img,if=virtio \
|
|
-netdev user,id=vmnic,smb=/home/platvoeten/Sync/Inholland,hostname=windows10 -device virtio-net,netdev=vmnic \
|
|
-m 4G \
|
|
-name "Windows 10" \
|
|
-spice port=5928,disable-ticketing \
|
|
-device virtio-serial \
|
|
-chardev spicevmc,id=vdagent,name=vdagent \
|
|
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0
|