These sysemu functions will be needed by qemu-char.c, which is linked into tests/vhost-user-test without system emulation functionality.
Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> --- stubs/Makefile.objs | 1 + stubs/shutdown.c | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 stubs/shutdown.c diff --git a/stubs/Makefile.objs b/stubs/Makefile.objs index 528e161..f17d517 100644 --- a/stubs/Makefile.objs +++ b/stubs/Makefile.objs @@ -39,3 +39,4 @@ stub-obj-$(CONFIG_WIN32) += fd-register.o stub-obj-y += cpus.o stub-obj-y += kvm.o stub-obj-y += qmp_pc_dimm_device_list.o +stub-obj-y += shutdown.o diff --git a/stubs/shutdown.c b/stubs/shutdown.c new file mode 100644 index 0000000..37c96c0 --- /dev/null +++ b/stubs/shutdown.c @@ -0,0 +1,5 @@ +#include "sysemu/sysemu.h" + +void qemu_system_shutdown_force(void) +{ +} -- 1.9.3