KVM: x86 emulator: Don't write-back cpu-state on X86EMUL_INTERCEPTED
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 4 Apr 2011 10:39:24 +0000 (12:39 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:57:00 +0000 (07:57 -0400)
commit775fde8648ebc588d07de39457aadc7c2131df2e
tree56706d5d6eff4b5f02c911cbbbcf3b14648aee69
parent3c6e276f22cf29188035535127c4c35aeeafcabc
KVM: x86 emulator: Don't write-back cpu-state on X86EMUL_INTERCEPTED

This patch prevents the changed CPU state to be written back
when the emulator detected that the instruction was
intercepted by the guest.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.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