aboutsummaryrefslogtreecommitdiff
path: root/stubs
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 /stubs
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 'stubs')
-rw-r--r--stubs/Makefile.objs1
-rw-r--r--stubs/vhost.c7
2 files changed, 0 insertions, 8 deletions
diff --git a/stubs/Makefile.objs b/stubs/Makefile.objs
index 40b4e15564..0b642d7893 100644
--- a/stubs/Makefile.objs
+++ b/stubs/Makefile.objs
@@ -35,7 +35,6 @@ stub-obj-y += kvm.o
stub-obj-y += qmp_pc_dimm_device_list.o
stub-obj-y += target-monitor-defs.o
stub-obj-y += target-get-monitor-def.o
-stub-obj-y += vhost.o
stub-obj-y += iohandler.o
stub-obj-y += pc_madt_cpu_entry.o
stub-obj-y += migration-colo.o
diff --git a/stubs/vhost.c b/stubs/vhost.c
deleted file mode 100644
index 2d76cdebdc..0000000000
--- a/stubs/vhost.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include "qemu/osdep.h"
-#include "hw/virtio/vhost.h"
-
-bool vhost_has_free_slot(void)
-{
- return true;
-}