Signed-off-by: Jan Kiszka <[email protected]>
---
cpus.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/cpus.c b/cpus.c
index 4b5d187..c7a5dec 100644
--- a/cpus.c
+++ b/cpus.c
@@ -1212,11 +1212,6 @@ static void sig_ipi_handler(int n)
{
}
-static int kvm_cpu_is_stopped(CPUState *env)
-{
- return !vm_running || env->stopped;
-}
-
static void kvm_main_loop_wait(CPUState *env, int timeout)
{
struct timespec ts;
@@ -1361,7 +1356,7 @@ static int kvm_main_loop_cpu(CPUState *env)
{
while (1) {
int timeout = 1000;
- if (!kvm_cpu_is_stopped(env)) {
+ if (!cpu_is_stopped(env)) {
switch (kvm_cpu_exec(env)) {
case EXCP_HLT:
break;
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html