commit | e934c9c1c8742872a53efb84966d9c1d7b8c8e24 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Thu Dec 06 16:15:02 2007 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Wed Jan 30 17:53:19 2008 +0200 |
tree | 37292af0e1f065b74e9eaf016653df798bb136b0 | |
parent | 7ee5d940f5064a7a4f0e53a8ffe755bc26a8b0f1 [diff] |
KVM: x86 emulator: fix eflags preparation for emulation We prepare eflags for the emulated instruction, then clobber it with an 'andl'. Fix by popping eflags as the last thing in the sequence. Patch taken from Xen (16143:959b4b92b6bf) Signed-off-by: Avi Kivity <avi@qumranet.com>