aboutsummaryrefslogtreecommitdiff
path: root/util/module.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-10-23 08:46:17 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-10-29 06:37:24 +0100
commit74acdf0af81f803e748523363abd3c145b9d25ad (patch)
tree28553a73ef646634013d8ef4baa9585bb1a2eaef /util/module.c
parentbbc48d2bcb9711614fbe751c2c5ae13e172fbca8 (diff)
virtio-gpu: add virtio-gpu-pci module
Build virtio-gpu pci devices modular. Must be a separate module because not all qemu softmmu variants come with PCI support. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20201023064618.21409-2-kraxel@redhat.com
Diffstat (limited to 'util/module.c')
-rw-r--r--util/module.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/module.c b/util/module.c
index fe3b82dd4d..9490f975d3 100644
--- a/util/module.c
+++ b/util/module.c
@@ -301,6 +301,9 @@ static struct {
{ "qxl", "hw-", "display-qxl" },
{ "virtio-gpu-device", "hw-", "display-virtio-gpu" },
{ "vhost-user-gpu", "hw-", "display-virtio-gpu" },
+ { "virtio-gpu-pci-base", "hw-", "display-virtio-gpu-pci" },
+ { "virtio-gpu-pci", "hw-", "display-virtio-gpu-pci" },
+ { "vhost-user-gpu-pci", "hw-", "display-virtio-gpu-pci" },
{ "chardev-braille", "chardev-", "baum" },
{ "chardev-spicevmc", "chardev-", "spice" },
{ "chardev-spiceport", "chardev-", "spice" },