From b1d380372f31672da9318431e84e79bccd8ef3bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Fri, 13 Jul 2018 15:09:06 +0200 Subject: util: promote qemu_egl_rendernode_open() to libqemuutil MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit vhost-user-gpu will share the same code to open a DRM node. Signed-off-by: Marc-André Lureau Message-Id: <20180713130916.4153-20-marcandre.lureau@redhat.com> [ kraxel: buildfix: util/drm.o must be CONFIG_OPENGL not CONFIG_LINUX ] Signed-off-by: Gerd Hoffmann --- include/qemu/drm.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 include/qemu/drm.h (limited to 'include/qemu') diff --git a/include/qemu/drm.h b/include/qemu/drm.h new file mode 100644 index 0000000..4c3e622 --- /dev/null +++ b/include/qemu/drm.h @@ -0,0 +1,6 @@ +#ifndef QEMU_DRM_H_ +#define QEMU_DRM_H_ + +int qemu_drm_rendernode_open(const char *rendernode); + +#endif -- cgit v1.1