summaryrefslogtreecommitdiff
path: root/cpus.c
diff options
context:
space:
mode:
authorSeokYeon Hwang <syeon.hwang@samsung.com>2016-11-09 14:04:43 +0900
committerSeokYeon Hwang <syeon.hwang@samsung.com>2016-11-09 14:10:12 +0900
commitfa489ba7fe1701029cf41d34ab4420c725b5f41b (patch)
tree699009639b8537b12687e3a70ff565d1eb16c5d5 /cpus.c
parent590861b31f5f1f7140d637173d8d9bac8d41ccc6 (diff)
parent10313ec1de30cbcd794075e91f002d0d5f727fa3 (diff)
downloadqemu-fa489ba7fe1701029cf41d34ab4420c725b5f41b.tar.gz
qemu-fa489ba7fe1701029cf41d34ab4420c725b5f41b.tar.bz2
qemu-fa489ba7fe1701029cf41d34ab4420c725b5f41b.zip
Merge branch 'develop' into develop_qemu_2.7
Change-Id: If718c77de19a889746a25a2dd51881dce52ef4b4 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Diffstat (limited to 'cpus.c')
-rw-r--r--cpus.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpus.c b/cpus.c
index 7c51e7e9d3..4d51e317a5 100644
--- a/cpus.c
+++ b/cpus.c
@@ -712,6 +712,11 @@ void cpu_synchronize_all_states(void)
CPU_FOREACH(cpu) {
cpu_synchronize_state(cpu);
+#ifdef CONFIG_HAX
+ if (hax_enabled() && hax_ug_platform()) {
+ hax_cpu_synchronize_state(cpu);
+ }
+#endif
}
}