KVM: x86 emulator: commit rflags as part of registers commit
authorGleb Natapov <gleb@redhat.com>
Sun, 21 Mar 2010 11:08:20 +0000 (13:08 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:16:35 +0000 (12:16 +0300)
commit482ac18ae293a3a0b1e1eea95c10dcc9ceeb4708
tree73e6dde8b669cef33edfd9de2074763b44bb6a1f
parent9749a6c0f0a4f88ae7bad4f65d7da32769e9b2b7
KVM: x86 emulator: commit rflags as part of registers commit

Make sure that rflags is committed only after successful instruction
emulation.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c
arch/x86/kvm/x86.c