summary refs log tree commit diff stats
path: root/util/module.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-09-14 15:42:24 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-09-15 14:11:49 +0200
commit7b0de5b7969e695d6235525654a8a28a0d82a0e0 (patch)
tree03219e1cc4998b57efe13c15c3f6f67d4a1279ad /util/module.c
parent3b593b3fe406c04d34a7e896c364a17b034fcf4f (diff)
downloadfocaccia-qemu-7b0de5b7969e695d6235525654a8a28a0d82a0e0.tar.gz
focaccia-qemu-7b0de5b7969e695d6235525654a8a28a0d82a0e0.zip
virtio-gpu: build modular
Only build virtio-gpu-device modular (the code which actually depends on
the external virglrenderer library).  virtio-gpu-pci and virtio-vga are
compiled into core qemu still.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200914134224.29769-7-kraxel@redhat.com
Diffstat (limited to 'util/module.c')
-rw-r--r--util/module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/module.c b/util/module.c
index 6e63006a8f..34772e7d87 100644
--- a/util/module.c
+++ b/util/module.c
@@ -265,6 +265,8 @@ static struct {
     { "usb-redir",             "hw-", "usb-redirect"          },
     { "qxl-vga",               "hw-", "display-qxl"           },
     { "qxl",                   "hw-", "display-qxl"           },
+    { "virtio-gpu-device",     "hw-", "display-virtio-gpu"    },
+    { "vhost-user-gpu",        "hw-", "display-virtio-gpu"    },
     { "chardev-braille",       "chardev-", "baum"             },
 };