C
C
CityCat42017-05-11 15:44:33
KVM
CityCat4, 2017-05-11 15:44:33

Why can't I see the graphical guest console in QEMU?

I'm standing on the asphalt, I'm shod in skis, either the skis are of the wrong model, or / dev / brains are dumb ...
The virtual machine with Windows is the one on which the console was wedged (I never fixed it, by the way). Changed the video to Virtio, enabled 3d acceleration. In the display settings, set Listen type - No, enabled OpenGL. Rebuilt qemu with virgl. Added the user qemu to the video group - without this the machine would not start, there were not enough rights to read /dev/dri/renderD128. Added the qemu-ga channel - the QEMU Guest Agent service started working, I really don’t know what good it is, but the service is running.
Where is the console?
You select the Spice Graphical Console - a black screen. You choose Serial 1 - black screen. I put another VirtIO console, still a black screen. At the same time, the machine is working, everything is visible via RDP, there are no unidentified devices in the device manager, except for the hidden device QEMU0002. I updated firewood with spice-guest-latest.exe inside Windows - a bunch of everything was updated, but there is still no console.
When I try to connect via virt-viewer -a win7 (the machine is called win7), a window appears with the inscription "connecting to the guest's graphical console" - and it hangs, I don't see any guest console.
If it is necessary a config of the machine - I will lay out
Yes, forgot absolutely.

uname -a
Linux sentry 4.4.39-calculate #1 SMP PREEMPT Mon Dec 26 14:55:34 UTC 2016 x86_64 Intel(R) Core(TM) i5-2300 CPU @ 2.80GHz GenuineIntel GNU/Linux

qemu 2.9.0-r1, libvirt 3.1.0, virt-manager 1.4.1

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question