From 35b1b927514d34862e352ff83ab0cbb1439b5303 Mon Sep 17 00:00:00 2001 From: Tao Wu Date: Wed, 10 Jan 2018 11:50:54 -0800 Subject: target/i386: move hflags update code to a function We will share the same code for hax/kvm. Signed-off-by: Tao Wu Message-Id: <20180110195056.85403-1-lepton@google.com> Signed-off-by: Paolo Bonzini --- target/i386/cpu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target/i386/cpu.h') diff --git a/target/i386/cpu.h b/target/i386/cpu.h index 62c4742703..f64e5ed827 100644 --- a/target/i386/cpu.h +++ b/target/i386/cpu.h @@ -1778,4 +1778,6 @@ bool cpu_is_bsp(X86CPU *cpu); void x86_cpu_xrstor_all_areas(X86CPU *cpu, const X86XSaveArea *buf); void x86_cpu_xsave_all_areas(X86CPU *cpu, X86XSaveArea *buf); +void x86_update_hflags(CPUX86State* env); + #endif /* I386_CPU_H */ -- cgit v1.2.3