machine: pass QAPI struct to mc->smp_parse
[qemu/rayw.git] / stubs / virtio-gpu-udmabuf.c
blob81f661441ab955c3d828042d0707f6f9117871ef
1 #include "qemu/osdep.h"
2 #include "hw/virtio/virtio-gpu.h"
4 bool virtio_gpu_have_udmabuf(void)
6 /* nothing (stub) */
7 return false;
10 void virtio_gpu_init_udmabuf(struct virtio_gpu_simple_resource *res)
12 /* nothing (stub) */
15 void virtio_gpu_fini_udmabuf(struct virtio_gpu_simple_resource *res)
17 /* nothing (stub) */
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)
25 /* nothing (stub) */
26 return 0;