summaryrefslogtreecommitdiff
path: root/cpus.c
diff options
context:
space:
mode:
authoryucheng yu <yu-cheng.yu@intel.com>2014-10-31 12:50:28 -0700
committerKitae Kim <kt920.kim@samsung.com>2015-01-08 17:59:13 +0900
commitfe0e9ca7b52b338824aabd7459be6c1aeafbb8e8 (patch)
tree567a173f4d7ab4d91c0813fb8ec04007aff38537 /cpus.c
parent55082fcd01178865579757111a0567912c915a1e (diff)
downloadqemu-fe0e9ca7b52b338824aabd7459be6c1aeafbb8e8.tar.gz
qemu-fe0e9ca7b52b338824aabd7459be6c1aeafbb8e8.tar.bz2
qemu-fe0e9ca7b52b338824aabd7459be6c1aeafbb8e8.zip
hax: fixed missing interrupt, removed earlier work-around.
Fixed high cpu utilization. Change-Id: I3e705fecb4bb95c01898eac19022b71dd6dd5172 Signed-off-by: yucheng yu <yu-cheng.yu@intel.com>
Diffstat (limited to 'cpus.c')
-rw-r--r--cpus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpus.c b/cpus.c
index 9c96c8dcb1..b28a92a0f0 100644
--- a/cpus.c
+++ b/cpus.c
@@ -996,6 +996,7 @@ static void *qemu_hax_cpu_thread_fn(void *arg)
cpu->thread_id = qemu_get_thread_id();
cpu->created = true;
+ cpu->halted = 0;
current_cpu = cpu;
hax_init_vcpu(cpu);