summaryrefslogtreecommitdiffstats
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/virtio/vhost-stub.c b/hw/virtio/vhost-stub.c
index 049089b5e2..c175148fce 100644
--- a/hw/virtio/vhost-stub.c
+++ b/hw/virtio/vhost-stub.c
@@ -7,9 +7,9 @@ bool vhost_has_free_slot(void)
return true;
}
-VhostUserState *vhost_user_init(void)
+bool vhost_user_init(VhostUserState *user, CharBackend *chr, Error **errp)
{
- return NULL;
+ return false;
}
void vhost_user_cleanup(VhostUserState *user)