suspend/resume: changed option name 52/13352/1
authorJinhyung Choi <jinhyung2.choi@samsung.com>
Wed, 4 Dec 2013 03:27:46 +0000 (12:27 +0900)
committerJinhyung Choi <jinhyung2.choi@samsung.com>
Wed, 4 Dec 2013 03:27:46 +0000 (12:27 +0900)
Option name "ignore-suspend-lock" is un-clear the meaning of sentence.
So, it is changed to "enable-suspend" as a client expected action.

Change-Id: I204b175e20f07100bb90f4a481c726e502d68c82
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
qemu-options.hx
vl.c

index 8f43232..368c57b 100644 (file)
@@ -3125,11 +3125,11 @@ STEXI
 @findex -disable-skin
 ETEXI
 
-DEF("ignore-suspend-lock", 0, QEMU_OPTION_ignore_suspend_lock, "", QEMU_ARCH_ALL)
+DEF("enable-suspend", 0, QEMU_OPTION_enable_suspend, "", QEMU_ARCH_ALL)
 STEXI
-@item -ignore-suspend-lock
-@findex -ignore-suspend-lock
-Disable suspend lock statement in order to reach suspend power state
+@item -enable-suspend
+@findex -enable-suspend
+Enable suspend power state. Default is disable.
 ETEXI
 
 HXCOMM Internal use
diff --git a/vl.c b/vl.c
index fbdde1b..f3aa797 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -3998,7 +3998,7 @@ int main(int argc, char **argv, char **envp)
 #endif
                 break;
 #ifdef CONFIG_MARU
-            case QEMU_OPTION_ignore_suspend_lock:
+            case QEMU_OPTION_enable_suspend:
                 ecs_set_suspend_state(SUSPEND_UNLOCK);
                 break;
 #endif