KVM: x86 emulator: fix eflags preparation for emulation
authorAvi Kivity <avi@qumranet.com>
Thu, 6 Dec 2007 14:15:02 +0000 (16:15 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:19 +0000 (17:53 +0200)
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>

No differences found