]> Git Repo - qemu.git/commit
hw/display: Restrict virtio-gpu-udmabuf stubs to !Linux
authorPhilippe Mathieu-Daudé <[email protected]>
Mon, 23 Aug 2021 10:04:53 +0000 (12:04 +0200)
committerGerd Hoffmann <[email protected]>
Tue, 31 Aug 2021 12:31:43 +0000 (14:31 +0200)
commitcdb1fba0844bb1db71f67d35700a80838d185bbd
tree38488176ad5eb2bde9bce5f3609db14f972ee9e0
parentfc4d3f35f81a5d392d979607818cf1cb56bfbaf7
hw/display: Restrict virtio-gpu-udmabuf stubs to !Linux

When using qemu configured with --enabled-modules, the
generic stubs are used instead of the module symbols:

  qemu-system-x86_64: -device virtio-vga,blob=on: cannot enable blob resources without udmabuf

Restrict the stubs to Linux and only link them when
CONFIG_VIRTIO_GPU is disabled (only the modularized
version is available when it is enabled).

Reported-by: Maxim R. <[email protected]>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/553
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <20210823100454[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
hw/display/meson.build
hw/display/virtio-gpu-udmabuf-stubs.c [new file with mode: 0644]
stubs/meson.build
stubs/virtio-gpu-udmabuf.c [deleted file]
This page took 0.032058 seconds and 4 git commands to generate.