[Title] add graceful stop in qemu signal handler logic
authorSon Hyunjun <hj79.son@samsung.com>
Thu, 5 Apr 2012 07:14:09 +0000 (16:14 +0900)
committerSon Hyunjun <hj79.son@samsung.com>
Thu, 5 Apr 2012 07:14:09 +0000 (16:14 +0900)
[Type] Enhancement
[Module] Skin
[Priority] Minor
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]

Change-Id: I140e93bab38ae6cb6e7deee711e808dc56f87e7a

vl.c

diff --git a/vl.c b/vl.c
index d609f0f239ca44427c9ce82220591b86e2b7b004..437c8ae530280a092926e4b268c16b2e995a0f1b 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -1433,7 +1433,12 @@ void qemu_system_killed(int signal, pid_t pid)
     shutdown_signal = signal;
     shutdown_pid = pid;
     no_shutdown = 0;
+
+#ifdef CONFIG_MARU
+    shutdown_qemu_gracefully();
+#else
     qemu_system_shutdown_request();
+#endif
 }
 
 void qemu_system_shutdown_request(void)