Skip to content

Commit

Permalink
hw/display: report an error if virgl initialization failed
Browse files Browse the repository at this point in the history
Currently, virgl initialization error is silent. Make it verbose instead.

(this is likely going to bug later on, as the device isn't fully
initialized)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
  • Loading branch information
elmarco committed Dec 17, 2021
1 parent 7b4a3b1 commit 7410186
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw/display/virtio-gpu-virgl.c
Expand Up @@ -609,6 +609,7 @@ int virtio_gpu_virgl_init(VirtIOGPU *g)

ret = virgl_renderer_init(g, 0, &virtio_gpu_3d_cbs);
if (ret != 0) {
error_report("virgl could not be initialized: %d", ret);
return ret;
}

Expand Down

0 comments on commit 7410186

Please sign in to comment.