[CentOS] Resizing a QEMU guest display

Sun Feb 7 18:28:58 UTC 2021
Bill Gee <bgee at campercaver.net>

Hi Strahil -

How does one reach a guest via spice?  I am not familiar with any remote access application called "spice".  I have tried two methods of accessing the host.  First is to open it from the Virtual Machine Manager on the host.  Second is to use TigerVNC to access it across the local network.

I see a package installed on the guest which looks like the guest agent.  Is there more that needs to be added?  This is the only qemu package installed on both the Fedora machine that does not resize and the CentOS7 machine that will resize.  The versions are way different between the two guests.

[root at practice21a ~]# rpm -qa | grep qemu 

The Fedora guest has, as you see, version 5.1.0-9.  The CentOS7 guest has version 2.12.0-3.  Perhaps the Fedora guest version is too new to run on a CentOS7 host??

I see other QEMU packages available.  One of them is called "qemu-device-display-qxl" which is very suggestive.  However, that package is NOT installed on the CentOS7 guest and yet that guest works.

Another package I see is "libvirt-daemon-driver-qemu".  This package is installed on the host but is not present on either guest.  Is it needed on guests?

Bill Gee

On Sunday, February 7, 2021 1:18:14 AM CST Strahil Nikolov wrote:
> Have you tried to reach the VM via spice ?Also check if qemu's guest agent is runningin the VM.
> Best Regards,Strahil Nikolov