[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 2/4] libqemustub: add qemu_system_shutdown_force(
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH v2 2/4] libqemustub: add qemu_system_shutdown_force() |
Date: |
Fri, 25 Jul 2014 14:16:44 +0100 |
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 <address@hidden>
---
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