OSDN Git Service

tools/virtio: xen stub
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 13 Oct 2019 13:37:16 +0000 (09:37 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 13 Oct 2019 13:38:27 +0000 (09:38 -0400)
Fixes test module build.

Reported-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tools/virtio/xen/xen.h [new file with mode: 0644]

diff --git a/tools/virtio/xen/xen.h b/tools/virtio/xen/xen.h
new file mode 100644 (file)
index 0000000..f569387
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef XEN_XEN_STUB_H
+#define XEN_XEN_STUB_H
+
+#define xen_domain() 0
+
+#endif