]> git.baikalelectronics.ru Git - kernel.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)
commitfe8ec04d0b25eb07884bf3468f6f8b25e5156e76
treee55091bf167c72631ea29b5d3a32045097dd779a
parent0a23df45fce1db22b934757450c79619ce1d357f
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