#!/bin/bash (echo info spice; echo quit) | qemu-system-x86_64 -spice port=9999 -monitor stdio