run power_management temporarily, later, if this approach is accepted, will try to replace main_loop_should_exit()
Signed-off-by: liguang <lig.f...@cn.fujitsu.com> --- vl.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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()); } -- 1.7.2.5