summaryrefslogtreecommitdiffstats
path: root/qemu/stubs/vhost.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/stubs/vhost.c')
-rw-r--r--qemu/stubs/vhost.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/qemu/stubs/vhost.c b/qemu/stubs/vhost.c
new file mode 100644
index 000000000..2d76cdebd
--- /dev/null
+++ b/qemu/stubs/vhost.c
@@ -0,0 +1,7 @@
+#include "qemu/osdep.h"
+#include "hw/virtio/vhost.h"
+
+bool vhost_has_free_slot(void)
+{
+ return true;
+}