aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/vhost-stub.c
blob: aa858ef3fbdbdfcac34d19cff9b9430d46b3da64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "qemu/osdep.h"
#include "hw/virtio/vhost.h"
#include "hw/virtio/vhost-user.h"

bool vhost_has_free_slot(void)
{
    return true;
}

bool vhost_user_init(VhostUserState *user, CharBackend *chr, Error **errp)
{
    return false;
}

void vhost_user_cleanup(VhostUserState *user)
{
}

void vhost_toggle_device_iotlb(VirtIODevice *vdev)
{
}