[libvirt] [PATCH v2 0/7] Enable vfio-pci 'property' for mediated device

Erik Skultety eskultet at redhat.com
Tue Jul 10 06:50:45 UTC 2018


On Mon, Jul 09, 2018 at 06:24:12PM +0200, Erik Skultety wrote:
> RFC here:
> https://www.redhat.com/archives/libvir-list/2018-May/msg02218.html
>
> Since v1 [1]:
> - remodeled egl-headless to be a standalone graphics element instead of a
> result of some automagic with graphic's <gl> element
> - pushed the first 5 simple fixes that were RB'd
> - fixed some nits raised during review
>
> [1] https://www.redhat.com/archives/libvir-list/2018-June/msg01740.html

I forgot to mention one problem with this. Both virt-viewer and virt-manager
take the first display in the XML and try to connect to it, which obviously
fails with egl-headless since there's no backing server running within QEMU
that would return the frames, so they fail with error "Can't connect to display
egl-headless". But that's not a problem libvirt should be fixing, the tools
should look for another suitable graphics display they can connect to.
As a workaround, just provide either vnc or spice graphics before egl-headless
in the XML and both tools stop complaining.

Erik




More information about the libvir-list mailing list