For Linux distos:
spice-vdagent
should be installed on Linux guest, not host.
It support:
- Auto resize of display on KVM guest.
- Share clipboard using copy/paste any text (It should work on X11 guest, not wayland)
You need to enable spice-vdagent
for autostart on Linux guest.
Video model should be set “Virtio” in the virtual hardware setting.
For Windows:
You need to install virtio-win-guest-tool.exe on Windows guest. It supports auto resize display and share clipboard too.
virtio-win ISO driver helps improve performance on virt image. (It is optional, but it requires new installation of Windows)
Multiple Linux distros and Windows 11 setup in virt-manager works fine for me using libvirt 9.1.0
.
You don’t need to update libvirt 9.2.0
as it disabled the nice ability to create offline internal snapshot when guests use UEFI.