Currently we have one virtio-gpu device. Problem with this approach is
that if you compile a full-featured qemu you'll get a virtio-gpu device
which depends on opengl and virgl, so these dependencies must be
installed and the libraries will be loaded into memory even if you don't
use virgl. Also the code is cluttered with #ifdefs and a bit messy.
This patch series splits the virtio-gpu device into two:
(1) virtio-gpu-device becomes the non-virgl device, same as
virtio-gpu-device,virgl=off today.
(2) virtio-gpu-gl-device is the new virgl device, same as
virtio-gpu-device,virgl=on today.
When compiling qemu without virglrenderer support virtio-gpu-device
behavior doesn't change.
Nice!
We are post 6.0 soft freeze. I suppose you target those changes for 6.1?