summaryrefslogtreecommitdiff
path: root/tools/virtio
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2019-10-13 09:37:16 -0400
committerMichael S. Tsirkin <mst@redhat.com>2019-10-13 09:38:27 -0400
commitedc5774c097f6463e9fb2373832e7db726247809 (patch)
tree46d97859991f91b562433431b56a267a50b2e1de /tools/virtio
parentc461e8df0c9bc46b3696dfb5d1df2f09d755af53 (diff)
tools/virtio: xen stub
Fixes test module build. Reported-by: Jan Kiszka <jan.kiszka@web.de> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/virtio')
-rw-r--r--tools/virtio/xen/xen.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/virtio/xen/xen.h b/tools/virtio/xen/xen.h
new file mode 100644
index 000000000000..f569387d1403
--- /dev/null
+++ b/tools/virtio/xen/xen.h
@@ -0,0 +1,6 @@
+#ifndef XEN_XEN_STUB_H
+#define XEN_XEN_STUB_H
+
+#define xen_domain() 0
+
+#endif