[libvirt PATCH] qemu: explicitly disable virgl when requested

Michal Prívozník mprivozn at redhat.com
Sat Jan 25 06:56:20 UTC 2020

On 1/25/20 12:12 AM, Jonathon Jongsma wrote:
> If a domain is configured to have an egl-headless display and a virtio
> video device, virgl will be enabled automatically within the guest, even
> if the video device is configured with accel3d='no'.
> In this case we should explicitly pass 'virgl=off' to qemu.
> See https://bugzilla.redhat.com/show_bug.cgi?id=1791236 for more
> information.
> Signed-off-by: Jonathon Jongsma <jjongsma at redhat.com>
> ---
>  src/qemu/qemu_command.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)

Reviewed-by: Michal Privoznik <mprivozn at redhat.com> and pushed. Even
though I still don't understand what good it is to use egl-headless with
accel3d='no'. Can it be used for when I'm passing two video cards? For
instance, one <video/> (primary) and then <hostdev/> (secondary) and I
want the secondary card (which is a physical card, hence more powerful)
to do the rendering?


More information about the libvir-list mailing list