Discussion:
[Qemu-discuss] Using egl-headless with virtio-vga video device crashes the guest
Erik Skultety
2018-11-28 13:20:02 UTC
Permalink
Hi,
I tried to test egl-headless (combined with either SPICE or VNC) with virtio
graphics (doesn't really matter whether I enable virgl or not, the result is
the same) which results in a guest crash. If I try a similar setup with SPICE
(using gl=on) it works as expected. Looking at the machine log libvirt produced
doesn't show anything useful apart from:

2018-11-28 12:51:26.032+0000: shutting down, reason=crashed

Now, it very well might be something wrong with my setup so I'd appreciate any
advice here, btw you can find the libvirt XML in the attachment.

Thanks,
Erik
Frederik Carlier
2018-11-29 11:04:18 UTC
Permalink
Hi Erik,
From: Qemu-discuss <qemu-discuss-
Skultety
Sent: Wednesday, November 28, 2018 2:20 PM
I tried to test egl-headless (combined with either SPICE or VNC) with virtio
graphics (doesn't really matter whether I enable virgl or not, the result is the
same) which results in a guest crash. If I try a similar setup with SPICE (using
gl=on) it works as expected. Looking at the machine log libvirt produced doesn't
For what it's worth, I've been doing some experiments with egl-headless recently and here's what I've observed:
- On a headless server (i.e. without X11), qemu would crash (SIGSEV) when the VM entered graphics mode. I got a bit futher by applying a patch [1]
- The display is messed up after I soft reboot the machine. This happens on the RC versions of 3.1, as well
- I've observed a couple of scenarios in which the VM would crash and reboot, but I'm not sure how to debug these scenarios.

Frederik.

[1] https://groups.g

Loading...