I have a libvirt/KVM with QEMU running a Windows 7 guest using the Spice/QXL video emulator.

How do I set a graphics mode not listed by default in the Windows screen resolution settings? For example, a mode like 2048x900 would be nice. The guest has a 21:9 screen and its very low height limits the use of hi-res 4:3 modes available in Windows.

I tried installing the Windows guest tools "guest agent" by Red Hat but they won't install. Therefore I am hoping for a solution that works by instructing spice what to emulate.

I read that using a Linux guest one can do these things directly from the guest by adding a new mode line with xrandr but I do not know how to do these things with the confusing graphical settings interface in Windows.

Ideally, of course, the screen resolution of the guest would change with the guest window size but I know that this would require some sort of guest tools that I do not have - or just won't install.

  • Normally once Spice video drivers are installed you can change the guest resolution by simply resizing the guest window. What is the windows version that you have in the guest? What do you mean exactly "they won't install"? Did the install fail or run so silent that you have no clue whether they're installed or not? Did you also try QXL Spice video drivers alone? I never had any troubles with spice video drivers but I must confess my guests were (and still are) limited to Windows XP. – user86969 Dec 6 '17 at 13:23
  • Thanks. The tools won't install means, when I call the install file with admin privs the process fails without error message. Afterwards no drivers are installed. No firewall of any sort hinders installation. I can easily install other programs. As I wrote, the Windows version is 7 - a 64-bit Enterprise variant to be precise. – Ned64 Dec 6 '17 at 22:43
  • Hmmm... there ain't no file to "execute" or "call", strictly speaking. The driver directory contains a CAT file, an INF file, a SYS file and a DLL file. All you have to do is (maybe forcibly) update the corresponding (unknown) driver with the Qxl INF file and you're all set. That's what I can see from the virtual ISO image that contains all the drivers on my virtual XP machine. Normally you should be prompted with a request for a driver file when you boot your virtual machine. From there you should be allowed to pick the INF file from the QXL\W7\AMD64 directory. – user86969 Dec 7 '17 at 0:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.