diff --git a/target/i386/hax-all.c b/target/i386/hax-all.c index 07df73ef4786d1131370c69074b65289e6f2f108..934ec4afd1408e34adf7d756d48b889fe1cd16e4 100644 --- a/target/i386/hax-all.c +++ b/target/i386/hax-all.c @@ -837,9 +837,6 @@ static int hax_sync_vcpu_register(CPUArchState *env, int set) return -1; } } - if (!set) { - x86_update_hflags(env); - } return 0; } @@ -1020,6 +1017,7 @@ static int hax_arch_get_registers(CPUArchState *env) return ret; } + x86_update_hflags(env); return 0; }