#!/bin/sh # /home/xyz/.local/bin/qw # https://wiki.archlinux.org/title/QEMU # https://guix.gnu.org/manual/en/html_node/Running-Guix-in-a-VM.html # `-enable-kvm` same as `-accel kvm`, see archwiki qemu-system-x86_64 \ -accel kvm -m 8G \ -cpu host \ -smp 2,sockets=1,cores=1,threads=2 \ -display gtk,zoom-to-fit=on \ -nic user,model=virtio-net-pci,hostfwd=::53684-:22 \ -usb -device usb-tablet \ -device virtio-blk,drive=myhd \ -drive if=none,file="$XDG_DOWNLOAD_DIR/qemu/guix.qcow2",format=qcow2,id=myhd