diff options
author | Gleb Natapov <gleb@redhat.com> | 2010-02-10 14:21:34 +0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-03-01 12:36:11 -0300 |
commit | d4c6a1549c056f1d817e8f6f2f97d8b44933472f (patch) | |
tree | 0187b92c17284b598934fcdc147b08e4f71c9708 /arch/x86/kernel/vsmp_64.c | |
parent | f850e2e603bf5a05b0aee7901857cf85715aa694 (diff) |
KVM: x86 emulator: Fix popf emulation
POPF behaves differently depending on current CPU mode. Emulate correct
logic to prevent guest from changing flags that it can't change otherwise.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Cc: stable@kernel.org
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kernel/vsmp_64.c')
0 files changed, 0 insertions, 0 deletions