So, this topic really annoys me. And that for quite some amount. Why do I always have to hassle with settings when I just want to have a VM inside of libvirt that behaves like any other VM application regarding screen size and resolution. This really is a shame.
After this rant, my setup:
Newest EndevourOS with libvirt Stack as virtualization solution, still on X11, with KDE.
Inside libvirt a VM, installed from EndevourOS Titan iso. Installation hassle-free, wayland, with KDE.
After installation: turn of VM. Activate QXL as display solution. Bootet into VM. Added spice-vdagent inside VM, rebootet. Added the rerspective checkmark in View → Scale Display → Always, Auto resize VM with Window.
This mimics completely another (in this case Arch) VM, which works fine and auto-adjusts screen size and resolution. My expectation was: Works fine under the new solution as well. Nope, does not…