]> git.proxmox.com Git - mirror_qemu.git/commit - target-i386/svm_helper.c
target-i386: set eflags prior to calling svm_load_seg_cache() in svm_helper.c
authorKevin O'Connor <kevin@koconnor.net>
Tue, 29 Apr 2014 20:37:50 +0000 (16:37 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 May 2014 11:12:40 +0000 (13:12 +0200)
commit304520291aac95d6a45a3f369f5275e11ef15b2e
treeef8cb6d88ef11a8e7f70f31de8af2855437ead60
parent639973a4740f38789057744b550df3a175bc49ad
target-i386: set eflags prior to calling svm_load_seg_cache() in svm_helper.c

The svm_load_seg_cache() function calls cpu_x86_load_seg_cache() which
inspects env->eflags.  So, make sure all changes to eflags are done
prior to loading the segment cache.

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