commit | d4c6a1549c056f1d817e8f6f2f97d8b44933472f | [log] [tgz] |
---|---|---|
author | Gleb Natapov <gleb@redhat.com> | Wed Feb 10 14:21:34 2010 +0200 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Mon Mar 01 12:36:11 2010 -0300 |
tree | 0187b92c17284b598934fcdc147b08e4f71c9708 | |
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>