From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAfMs-0001h7-4Q for qemu-devel@nongnu.org; Fri, 25 Jul 2014 09:17:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAfMk-000641-IP for qemu-devel@nongnu.org; Fri, 25 Jul 2014 09:17:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39573) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAfMk-00063r-A9 for qemu-devel@nongnu.org; Fri, 25 Jul 2014 09:16:54 -0400 From: Stefan Hajnoczi Date: Fri, 25 Jul 2014 14:16:44 +0100 Message-Id: <1406294206-26679-3-git-send-email-stefanha@redhat.com> In-Reply-To: <1406294206-26679-1-git-send-email-stefanha@redhat.com> References: <1406294206-26679-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH v2 2/4] libqemustub: add qemu_system_shutdown_force() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Andreas Faerber , Markus Armbruster 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 --- 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