qemu

FORK: QEMU emulator
git clone https://git.neptards.moe/neptards/qemu.git
Log | Files | Refs | Submodules | LICENSE

vhost-stub.c (289B)


      1 #include "qemu/osdep.h"
      2 #include "hw/virtio/vhost.h"
      3 #include "hw/virtio/vhost-user.h"
      4 
      5 bool vhost_has_free_slot(void)
      6 {
      7     return true;
      8 }
      9 
     10 bool vhost_user_init(VhostUserState *user, CharBackend *chr, Error **errp)
     11 {
     12     return false;
     13 }
     14 
     15 void vhost_user_cleanup(VhostUserState *user)
     16 {
     17 }