aboutsummaryrefslogtreecommitdiff
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.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/hw/virtio/vhost-stub.c b/hw/virtio/vhost-stub.c
index 2d76cdebdc..049089b5e2 100644
--- a/hw/virtio/vhost-stub.c
+++ b/hw/virtio/vhost-stub.c
@@ -1,7 +1,17 @@
#include "qemu/osdep.h"
#include "hw/virtio/vhost.h"
+#include "hw/virtio/vhost-user.h"
bool vhost_has_free_slot(void)
{
return true;
}
+
+VhostUserState *vhost_user_init(void)
+{
+ return NULL;
+}
+
+void vhost_user_cleanup(VhostUserState *user)
+{
+}