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