diff mbox series

vl: add virtio-vga-gl to the default_list

Message ID 20210701062421.721414-1-marcandre.lureau@redhat.com
State New
Headers show
Series vl: add virtio-vga-gl to the default_list | expand

Commit Message

Marc-André Lureau July 1, 2021, 6:24 a.m. UTC
From: Marc-André Lureau <marcandre.lureau@redhat.com>

Do not instantiate an extra default VGA device if -device virtio-vga-gl
is provided.

Related to commit b36eb8860f8f4a9c6f131c3fd380116a3017e022 ("virtio-gpu:
add virtio-vga-gl")

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 softmmu/vl.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/softmmu/vl.c b/softmmu/vl.c
index d99e2cbdbf..69c55a86a4 100644
--- a/softmmu/vl.c
+++ b/softmmu/vl.c
@@ -198,6 +198,7 @@  static struct {
     { .driver = "virtio-vga",           .flag = &default_vga       },
     { .driver = "ati-vga",              .flag = &default_vga       },
     { .driver = "vhost-user-vga",       .flag = &default_vga       },
+    { .driver = "virtio-vga-gl",        .flag = &default_vga       },
 };
 
 static QemuOptsList qemu_rtc_opts = {