virt-manager guest resize not working

ThorSummoner picture ThorSummoner · Feb 1, 2017 · Viewed 29.6k times · Source

Installed virt-manager, target virtual machine is debian jessie with spice-vdagent installed shared clipboard, and latency-free mouse input works

Display: Spice Video: QXL Channel spice: spicevmc, virtio, com.redhat.spice.0 (confirmed /dev devices exist in target vm)

Answer

ThorSummoner picture ThorSummoner · Feb 1, 2017
  1. Make sure guest resizing is enabled in virt-manager:

    Menu View -> Scale Display -> Auto resize VM with window (Checked)


  1. Make sure your have a spice agent on your host

    https://www.spice-space.org/download.html#guest

    'spice-vdagent' on linux

    'spice-guest-tools' on windows


How I figured this out,

I found a setting in "spicy" that I assumed had an equivalent in virt-maanger. To connect with spicy from spice-client-gtk apt package, I found the port to connect to by checking sudo ss -nlp | grep qemu, and connected to that port on localhost. Spicy's toggle was much easier to find: Options -> Resize guest to match window size (Checked).