target/i386: move hflags update code to a function
commit35b1b927514d34862e352ff83ab0cbb1439b5303
authorTao Wu <lepton@google.com>
Wed, 10 Jan 2018 19:50:54 +0000 (10 11:50 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Jan 2018 13:54:51 +0000 (16 14:54 +0100)
tree9fff52de2b4383843927406aa89f5bf1e7e246cb
parent52cb6817a715dde6bc0ba531b23c2525f298925d
target/i386: move hflags update code to a function

We will share the same code for hax/kvm.

Signed-off-by: Tao Wu <lepton@google.com>
Message-Id: <20180110195056.85403-1-lepton@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.c
target/i386/cpu.h
target/i386/kvm.c