aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/vhost-stub.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-10-24 11:13:49 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2017-01-16 17:52:35 +0100
commita0f80010b37afc18030d43f2b96cc1e0b7588b73 (patch)
treec61bd5cf429ec11524f97ae895644e223b4d4a44 /hw/virtio/vhost-stub.c
parent858d436665519095eb593081f8efd68ddc579b45 (diff)
stubs: move vhost stubs to stubs/vhost.o
No need to include them in libqemustub.a, since only system emulators need them. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/virtio/vhost-stub.c')
-rw-r--r--hw/virtio/vhost-stub.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/virtio/vhost-stub.c b/hw/virtio/vhost-stub.c
new file mode 100644
index 0000000000..2d76cdebdc
--- /dev/null
+++ b/hw/virtio/vhost-stub.c
@@ -0,0 +1,7 @@
+#include "qemu/osdep.h"
+#include "hw/virtio/vhost.h"
+
+bool vhost_has_free_slot(void)
+{
+ return true;
+}