Skip to content

Commit

Permalink
KVM: x86 emulator: remove _eflags and use directly ctxt->eflags.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Laurent Vivier authored and Avi Kivity committed Jan 30, 2008
1 parent 8cdbd2c commit 05f086f
Showing 1 changed file with 59 additions and 62 deletions.
Loading

0 comments on commit 05f086f

Please sign in to comment.