From b953b2b807742b34fa31d23b252a5fa16c32eb35 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Sun, 22 Mar 2020 09:19:53 +1100 Subject: [PATCH] [module] added missing kvmfr.h, fixes #253 --- VERSION | 2 +- module/kvmfr.h | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 module/kvmfr.h diff --git a/VERSION b/VERSION index 249dc3ef..bfd51f43 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -B1-160-g1ac13658e1+1 \ No newline at end of file +B1-162-g3acfbdce02+1 \ No newline at end of file diff --git a/module/kvmfr.h b/module/kvmfr.h new file mode 100644 index 00000000..696a9b2b --- /dev/null +++ b/module/kvmfr.h @@ -0,0 +1,18 @@ +#ifndef _KVMFR_H +#define _KVMFR_H + +#include +#include + +#define KVMFR_DMABUF_FLAG_CLOEXEC 0x1 + +struct kvmfr_dmabuf_create { + __u8 flags; + __u64 offset; + __u64 size; +}; + +#define KVMFR_DMABUF_GETSIZE _IO('u', 0x44) +#define KVMFR_DMABUF_CREATE _IOW('u', 0x42, struct kvmfr_dmabuf_create) + +#endif \ No newline at end of file