From: Gleb Natapov Date: Thu, 18 Feb 2010 10:15:01 +0000 (+0200) Subject: KVM: Fix segment descriptor loading X-Git-Tag: v2.6.34-rc1~193^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c697518a861e6c43b92b848895f9926580ee63c3;p=pandora-kernel.git KVM: Fix segment descriptor loading Add proper error and permission checking. This patch also change task switching code to load segment selectors before segment descriptors, like SDM requires, otherwise permission checking during segment descriptor loading will be incorrect. Cc: stable@kernel.org (2.6.33, 2.6.32) Signed-off-by: Gleb Natapov Signed-off-by: Avi Kivity --- Reading git-diff-tree failed