diff options
-rw-r--r-- | target/i386/hax-all.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/target/i386/hax-all.c b/target/i386/hax-all.c index 07df73ef47..934ec4afd1 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; } |