In this video, we create a simple virtual machine startup script with QEMU
The script:
#!/bin/bash
qemu-system-x86_64 --enable-kvm -m 16384 -cpu host,kvm=off \
-M q35 \
-smp cores=2,threads=2 \
-bios /usr/share/edk2/ovmf/OVMF_CODE.fd \
-rtc base=localtime \
-hda vm1.img \
-cdrom win10.img \
-usb -device usb-tablet \
qemu-img create -f qcow2 vm1.img 35G