]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
KVM: x86 emulator: remove _eflags and use directly ctxt->eflags.
authorLaurent Vivier <Laurent.Vivier@bull.net>
Mon, 24 Sep 2007 09:10:55 +0000 (11:10 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:52:48 +0000 (17:52 +0200)
commit05f086f87ef17da70d5f4e9b063e9ea31ab20f28
treee55091bf167c72631ea29b5d3a32045097dd779a
parent8cdbd2c9bf3108c41563eef586f22fa8b5174de0
KVM: x86 emulator: remove _eflags and use directly ctxt->eflags.

Remove _eflags and use directly ctxt->eflags. Caching eflags is not needed as
it is restored to vcpu by kvm_main.c:emulate_instruction() from ctxt->eflags
only if emulation doesn't fail.

Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/x86_emulate.c