From: Jan Kiszka Date: Tue, 18 Oct 2011 16:23:11 +0000 (+0200) Subject: KVM: SVM: Keep intercepting task switching with NPT enabled X-Git-Tag: v3.2-rc1~119^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1c1da2bde712812a3e0f9a7a7ebe7a916a4b5f4;p=pandora-kernel.git KVM: SVM: Keep intercepting task switching with NPT enabled AMD processors apparently have a bug in the hardware task switching support when NPT is enabled. If the task switch triggers a NPF, we can get wrong EXITINTINFO along with that fault. On resume, spurious exceptions may then be injected into the guest. We were able to reproduce this bug when our guest triggered #SS and the handler were supposed to run over a separate task with not yet touched stack pages. Work around the issue by continuing to emulate task switches even in NPT mode. Signed-off-by: Jan Kiszka Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed