commit | 010e639a8dd3848c7994aae288c218c6ea52a819 | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Tue Apr 29 16:38:10 2014 -0400 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue May 13 13:12:40 2014 +0200 |
tree | 71db35b901609478851a8ef3d2d9bda2229120ea | |
parent | 304520291aac95d6a45a3f369f5275e11ef15b2e [diff] |
target-i386: set eflags and cr0 prior to calling cpu_x86_load_seg_cache() in smm_helper.c The cpu_x86_load_seg_cache() function inspects cr0 and eflags, so make sure all changes to eflags and cr0 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>