target/i386: hax: change to use x86_update_hflags
commite527f86e3eb5a973d2e11f8ea08937bcc166d17a
authorTao Wu <lepton@google.com>
Wed, 10 Jan 2018 19:50:55 +0000 (10 11:50 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Jan 2018 13:54:51 +0000 (16 14:54 +0100)
tree74f6a46473b8e9c6277c05de761f13fdf1ae8613
parent35b1b927514d34862e352ff83ab0cbb1439b5303
target/i386: hax: change to use x86_update_hflags

Change to use x86_update_hflags instead of keeping another copy
at hax side. This also fix bug like HF_CPL_MASK should be SS.DPL,
not CS.DPL.

Signed-off-by: Tao Wu <lepton@google.com>
Message-Id: <20180110195056.85403-2-lepton@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/hax-all.c