#!/usr/bin/sh echo "Launching vm" qemu-system-x86_64 \ -hda $1 \ -boot order=d \ -m 2G \ -accel kvm \ -monitor telnet:127.0.0.1:2069,server,nowait \ -cpu host \ -chardev qemu-vdagent,id=ch1,name=vdagent,clipboard=on \ -device virtio-serial \ -device virtserialport,chardev=ch1,name=com.redhat.spice.0 \ -spice addr=127.0.0.1,port=4354,disable-ticketing=on \ -net user,hostfwd=tcp::2222-:22 \ -net nic \ -D ./log.txt \ $RUN_VM_EXTRA_ARGS