#!/bin/bash # i think this optimizes the display connection to a qemu vm, im not sure honestly qemu-system-x86_64 -vga qxl -device virtio-serial-pci -spice unix=on,addr=/tmp/vm_spice.socket,disable-ticketing=on -device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 -chardev spicevmc,id=spicechannel0,name=vdagent