This is needed to ensure that virtio-gpu device works for non-linux builds. Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com> Message-Id: <20210526231429.1045476-5-vivek.kasireddy@intel.com> [ kraxel: add virtio-gpu-udmabuf.c stubs only when building system emulation ] Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
19 lines
339 B
C
19 lines
339 B
C
#include "qemu/osdep.h"
|
|
#include "hw/virtio/virtio-gpu.h"
|
|
|
|
bool virtio_gpu_have_udmabuf(void)
|
|
{
|
|
/* nothing (stub) */
|
|
return false;
|
|
}
|
|
|
|
void virtio_gpu_init_udmabuf(struct virtio_gpu_simple_resource *res)
|
|
{
|
|
/* nothing (stub) */
|
|
}
|
|
|
|
void virtio_gpu_fini_udmabuf(struct virtio_gpu_simple_resource *res)
|
|
{
|
|
/* nothing (stub) */
|
|
}
|