xref: /openbmc/qemu/hw/virtio/vhost-stub.c (revision cd89c065)
1a0f80010SPaolo Bonzini #include "qemu/osdep.h"
2a0f80010SPaolo Bonzini #include "hw/virtio/vhost.h"
34d0cf552STiwei Bie #include "hw/virtio/vhost-user.h"
4a0f80010SPaolo Bonzini 
vhost_get_max_memslots(void)5*cd89c065SDavid Hildenbrand unsigned int vhost_get_max_memslots(void)
6*cd89c065SDavid Hildenbrand {
7*cd89c065SDavid Hildenbrand     return UINT_MAX;
8*cd89c065SDavid Hildenbrand }
9*cd89c065SDavid Hildenbrand 
vhost_get_free_memslots(void)108c49951cSDavid Hildenbrand unsigned int vhost_get_free_memslots(void)
11a0f80010SPaolo Bonzini {
128c49951cSDavid Hildenbrand     return UINT_MAX;
13a0f80010SPaolo Bonzini }
144d0cf552STiwei Bie 
vhost_user_init(VhostUserState * user,CharBackend * chr,Error ** errp)150b99f224SMarc-André Lureau bool vhost_user_init(VhostUserState *user, CharBackend *chr, Error **errp)
164d0cf552STiwei Bie {
170b99f224SMarc-André Lureau     return false;
184d0cf552STiwei Bie }
194d0cf552STiwei Bie 
vhost_user_cleanup(VhostUserState * user)204d0cf552STiwei Bie void vhost_user_cleanup(VhostUserState *user)
214d0cf552STiwei Bie {
224d0cf552STiwei Bie }
23ee071f67SViktor Prutyanov 
vhost_toggle_device_iotlb(VirtIODevice * vdev)24ee071f67SViktor Prutyanov void vhost_toggle_device_iotlb(VirtIODevice *vdev)
25ee071f67SViktor Prutyanov {
26ee071f67SViktor Prutyanov }
27