On Sat, Oct 06, 2018 at 02:32:45AM +0400, Marc-André Lureau wrote:
Hi
On Fri, Oct 5, 2018 at 7:59 PM Hoffmann, Gerd <kraxel(a)redhat.com> wrote:
>
> Hi,
>
> > For example, "virgl" support may not be implemented. This
> > --print-capabilities is a simple way to check what the backend
> > implements.
>
> What is the expected behavior in case virgl is implemented by the
> backend, but not available (due to lack of 3d hardware in the host for
> example) ?
I would say either it fails at runtime, or the backend doesn't announce it.
Would you want something else?
Yes, one of the two, but we should clarify which one.
I suspect "fail at runtime" is easier for libvirt, given that it libvirt
must handle backend failures anyway ...
cheers,
Gerd