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

unsigned int vhost_get_max_memslots(void)
{
    return UINT_MAX;
}

unsigned int vhost_get_free_memslots(void)
{
    return UINT_MAX;
}

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)
{
}