2 * udmabuf helper functions.
4 * This work is licensed under the terms of the GNU GPL, version 2 or later.
5 * See the COPYING file in the top-level directory.
7 #include "qemu/osdep.h"
8 #include "qapi/error.h"
9 #include "ui/console.h"
14 #include <sys/ioctl.h>
18 static bool first
= true;
26 udmabuf
= open("/dev/udmabuf", O_RDWR
);
28 warn_report("open /dev/udmabuf: %s", strerror(errno
));