A virtual display can be attached to a virtual machine to se the content of it. It is a must-have for in non-headless scenarios.
The Simple DirectMedia Layer is a local-only low-latency display.
It is currently only avalable with virtual machines created using the QEMU/KVM User Session mode.
virtio-gpu
.<graphics type="sdl" display=":0.0">
<gl enable="yes"/>
</graphics>
The display resolution might not exceed that of your physical screen.
Mouse capture doesn't work