qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH][RFC v2 7/7] vl: run power_management


From: liguang
Subject: [Qemu-devel] [PATCH][RFC v2 7/7] vl: run power_management
Date: Fri, 5 Apr 2013 12:28:11 +0800

run power_management temporarily,
later, if this approach is accepted,
will try to replace main_loop_should_exit()

Signed-off-by: liguang <address@hidden>
---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]