]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff7c4ba03461477611dd6dbeee4f557773148572
tree56706d5d6eff4b5f02c911cbbbcf3b14648aee69
parentd977a421fb1f7960743529eee4d5a72b8ec9bf0f
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