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>
This commit is contained in:
Michael S. Tsirkin 2019-10-13 09:37:16 -04:00
parent c461e8df0c
commit edc5774c09
1 changed files with 6 additions and 0 deletions

6
tools/virtio/xen/xen.h Normal file
View File

@ -0,0 +1,6 @@
#ifndef XEN_XEN_STUB_H
#define XEN_XEN_STUB_H
#define xen_domain() 0
#endif