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)
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 95ba827313 and 3cfc3092.

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>

No differences found