2016-01-29 20:49:52 +03:00
|
|
|
#include "qemu/osdep.h"
|
2015-10-06 11:37:27 +03:00
|
|
|
#include "hw/virtio/vhost.h"
|
2018-05-24 13:33:33 +03:00
|
|
|
#include "hw/virtio/vhost-user.h"
|
2015-10-06 11:37:27 +03:00
|
|
|
|
2023-09-26 21:57:31 +03:00
|
|
|
unsigned int vhost_get_max_memslots(void)
|
|
|
|
{
|
|
|
|
return UINT_MAX;
|
|
|
|
}
|
|
|
|
|
2023-09-26 21:57:25 +03:00
|
|
|
unsigned int vhost_get_free_memslots(void)
|
2015-10-06 11:37:27 +03:00
|
|
|
{
|
2023-09-26 21:57:25 +03:00
|
|
|
return UINT_MAX;
|
2015-10-06 11:37:27 +03:00
|
|
|
}
|
2018-05-24 13:33:33 +03:00
|
|
|
|
2019-03-08 17:04:45 +03:00
|
|
|
bool vhost_user_init(VhostUserState *user, CharBackend *chr, Error **errp)
|
2018-05-24 13:33:33 +03:00
|
|
|
{
|
2019-03-08 17:04:45 +03:00
|
|
|
return false;
|
2018-05-24 13:33:33 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
void vhost_user_cleanup(VhostUserState *user)
|
|
|
|
{
|
|
|
|
}
|
2023-06-26 12:12:57 +03:00
|
|
|
|
|
|
|
void vhost_toggle_device_iotlb(VirtIODevice *vdev)
|
|
|
|
{
|
|
|
|
}
|