]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Advance instruction pointer in dr_intercept
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 9 Feb 2011 17:29:39 +0000 (18:29 +0100)
committerAvi Kivity <avi@redhat.com>
Tue, 22 Feb 2011 14:01:44 +0000 (16:01 +0200)
commit2bef5f0f0d85b7f3794d4871ad47a8860c37d850
tree3e8fbc0d589b5c2d2cdfe9d96749f1268418c61f
parenta0662acfbf88cab85dd11db3e43adcd647d9da6e
KVM: SVM: Advance instruction pointer in dr_intercept

In the dr_intercept function a new cpu-feature called
decode-assists is implemented and used when available. This
code-path does not advance the guest-rip causing the guest
to dead-loop over mov-dr instructions. This is fixed by this
patch.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c