[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#599507: KVM: SVM: Fix wrong intercept masks on 32 bit

On Fri, 2010-10-08 at 10:03 +0200, Philipp Hahn wrote:
> Package: linux-2.6.32
> Severity: normal
> When trying to reboot an ia32 guest, an ia32 kvm running on an Amd64
> cpu reports the following error:
>  kvm: unhandled exit ffffffff
>  kvm_run returned -22
> This bug was fixed for linux-2.6.34 but is still present in 2.6.32.
> <http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=061e2fd16863009c8005b4b5fdfb75c7215c0b99>
> > 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 95ba827313 and 3cfc3092.
> It only happens on Amd cpus, Intel cpus are unaffected.
> Please conside applying this patch to the 2.6.32 stable branch as well.

I've adjusted the fix for 2.6.32, applied it to the Debian package and
forwarded it to stable@kernel.org.


Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: