]> 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)
commita2974ed4d64db121a0c9b20103000234e45290df
tree56706d5d6eff4b5f02c911cbbbcf3b14648aee69
parent869aa3f6360468894f02c6c9504ce3c264a90ffc
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