[PATCH v2 0/2] Restrict virtio-gpu-udmabuf stubs to !Linux

Philippe Mathieu-Daudé posted 2 patches 2 years, 8 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210823100454.615816-1-philmd@redhat.com
include/ui/console.h                                  |  2 ++
.../display/virtio-gpu-udmabuf-stubs.c                |  0
ui/udmabuf.c                                          | 11 -----------
hw/display/meson.build                                |  3 ++-
stubs/meson.build                                     |  1 -
ui/meson.build                                        |  6 ++++--
6 files changed, 8 insertions(+), 15 deletions(-)
rename stubs/virtio-gpu-udmabuf.c => hw/display/virtio-gpu-udmabuf-stubs.c (100%)
[PATCH v2 0/2] Restrict virtio-gpu-udmabuf stubs to !Linux
Posted by Philippe Mathieu-Daudé 2 years, 8 months ago
Annoying problem when stubs take over module symbols.

See https://gitlab.com/qemu-project/qemu/-/issues/553

Philippe Mathieu-Daudé (2):
  hw/display: Restrict virtio-gpu-udmabuf stubs to !Linux
  ui/console: Restrict udmabuf_fd() to Linux

 include/ui/console.h                                  |  2 ++
 .../display/virtio-gpu-udmabuf-stubs.c                |  0
 ui/udmabuf.c                                          | 11 -----------
 hw/display/meson.build                                |  3 ++-
 stubs/meson.build                                     |  1 -
 ui/meson.build                                        |  6 ++++--
 6 files changed, 8 insertions(+), 15 deletions(-)
 rename stubs/virtio-gpu-udmabuf.c => hw/display/virtio-gpu-udmabuf-stubs.c (100%)

-- 
2.31.1