# Pastebin ximYskET kvm \ -smp 8 \ -m 8192 \ -machine q35 \ -cpu host \ -global ICH9-LPC.disable_s3=1 \ -netdev user,id=mynet0,hostfwd=tcp::8026-:22 \ -device virtio-net-pci,netdev=mynet0 \ -drive file=/usr/share/OVMF/OVMF_CODE.secboot.fd,if=pflash,format=raw,unit=0,readonly=on \ -drive file="$(pwd)/OVMF_VARS.ms.fd",if=pflash,format=raw,unit=1 \ -chardev socket,id=chrtpm,path=/var/snap/swtpm-mvo/current/swtpm-sock -tpmdev emulator,id=tpm0,chardev=chrtpm -device tpm-tis,tpmdev=tpm0 \ -drive "file=$1",if=none,format=raw,id=disk1 -device virtio-blk-pci,drive=disk1,bootindex=1 \ -serial mon:stdio