aboutsummaryrefslogtreecommitdiffstats
path: root/target-i386/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-i386/helper.c')
-rw-r--r--target-i386/helper.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c
index 6d0f18c..7e2ac4e 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -28,6 +28,7 @@
#include "exec-all.h"
#include "qemu-common.h"
#include "kvm.h"
+#include "hax.h"
//#define DEBUG_MMU
@@ -662,6 +663,11 @@ void cpu_dump_state(CPUState *env, FILE *f,
if (kvm_enabled())
kvm_arch_get_registers(env);
+#ifdef CONFIG_HAX
+ if (hax_enabled())
+ hax_arch_get_registers(env);
+#endif
+
eflags = env->eflags;
#ifdef TARGET_X86_64
if (env->hflags & HF_CS64_MASK) {