mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
The actual backend is "Chardev", CharBackend is the frontend side of it (whatever talks to the backend), let's rename it for readability. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Link: https://lore.kernel.org/r/20251022074612.1258413-1-marcandre.lureau@redhat.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
27 lines
430 B
C
27 lines
430 B
C
#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, CharFrontend *chr, Error **errp)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
void vhost_user_cleanup(VhostUserState *user)
|
|
{
|
|
}
|
|
|
|
void vhost_toggle_device_iotlb(VirtIODevice *vdev)
|
|
{
|
|
}
|