Merge remote-tracking branch 'remotes/dagrh/tags/pull-virtiofs-20211026' into staging
[qemu.git] / stubs / virtio-gpu-udmabuf.c
1 #include "qemu/osdep.h"
2 #include "hw/virtio/virtio-gpu.h"
3
4 bool virtio_gpu_have_udmabuf(void)
5 {
6 /* nothing (stub) */
7 return false;
8 }
9
10 void virtio_gpu_init_udmabuf(struct virtio_gpu_simple_resource *res)
11 {
12 /* nothing (stub) */
13 }
14
15 void virtio_gpu_fini_udmabuf(struct virtio_gpu_simple_resource *res)
16 {
17 /* nothing (stub) */
18 }
19
20 int virtio_gpu_update_dmabuf(VirtIOGPU *g,
21 uint32_t scanout_id,
22 struct virtio_gpu_simple_resource *res,
23 struct virtio_gpu_framebuffer *fb)
24 {
25 /* nothing (stub) */
26 return 0;
27 }