It doesn't need to be the QEMU agent type. Both the unix and QEMU vdagent channels have "clipboard" support, but neither seem to work. Clipboard support of the spicevmc does seem to work.
You need the following package to enable this channel, but it is usually automatically installed during debian installer:
sudo apt install qemu-guest-agent
This is needed for "Auto resize with VM window".
sudo apt install spice-vdagent
- https://gist.github.com/plembo/21d4a1579850f7fe84301a90f4fcdf9a
- The Arch QEMU wiki suggests that the QEMU vdagent include a spicevmc server, but this doesn't seem to line up with what I'm seeing on Debian. Running
/usr/sbin/qemu-ga
with--help
, doesn't seem to mention anything about spice. See https://wiki.archlinux.org/title/QEMU#qemu-vdagent.