]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Fix wrong intercept masks on 32 bit
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 5 May 2010 14:04:43 +0000 (16:04 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 13 May 2010 04:24:08 +0000 (01:24 -0300)
commitb068bc8e5e2692347066ed1ac03e68217d3f1639
tree54173bdbc5e490bbba23b30286b2c88d00131407
parent936310387981773f3bc0d0d785c6a9a37a63d020
KVM: SVM: Fix wrong intercept masks on 32 bit

This patch makes KVM on 32 bit SVM working again by
correcting the masks used for iret interception. With the
wrong masks the upper 32 bits of the intercepts are masked
out which leaves vmrun unintercepted. This is not legal on
svm and the vmrun fails.
Bug was introduced by commits c4486312f5 and bc009fdc.

Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Gleb Natapov <gleb@redhat.com>
Cc: stable@kernel.org
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c