diff mbox

[RFC,v2,7/7] vl: run power_management

Message ID 1365136091-26148-8-git-send-email-lig.fnst@cn.fujitsu.com
State New
Headers show

Commit Message

liguang April 5, 2013, 4:28 a.m. UTC
run power_management temporarily,
later, if this approach is accepted,
will try to replace main_loop_should_exit()

Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>
---
 vl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/vl.c b/vl.c
index a14549e..731158a 100644
--- a/vl.c
+++ b/vl.c
@@ -2041,6 +2041,7 @@  static void main_loop(void)
 #ifdef CONFIG_PROFILER
         dev_time += profile_getclock() - ti;
 #endif
+        power_management();
     } while (!main_loop_should_exit());
 }