target-i386: set eflags prior to calling cpu_x86_load_seg_cache() in seg_helper.c
commitfd460606fd6f356ddcf424558ed67664e8d46eb4
authorKevin O'Connor <kevin@koconnor.net>
Tue, 29 Apr 2014 20:38:31 +0000 (29 16:38 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 May 2014 11:12:40 +0000 (13 13:12 +0200)
tree3719b49597c6e83c38b1e561eabad05998dfaa16
parent010e639a8dd3848c7994aae288c218c6ea52a819
target-i386: set eflags prior to calling cpu_x86_load_seg_cache() in seg_helper.c

The cpu_x86_load_seg_cache() function inspects eflags, so make sure
all changes to eflags are done prior to loading the segment caches.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-i386/seg_helper.c