From: Gleb Natapov Date: Fri, 28 Jun 2013 10:17:18 +0000 (+0300) Subject: KVM: VMX: mark unusable segment as nonpresent X-Git-Tag: v3.11-rc1~35^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03617c188f41eeeb4223c919ee7e66e5a114f2c6;p=pandora-kernel.git KVM: VMX: mark unusable segment as nonpresent Some userspaces do not preserve unusable property. Since usable segment has to be present according to VMX spec we can use present property to amend userspace bug by making unusable segment always nonpresent. vmx_segment_access_rights() already marks nonpresent segment as unusable. Cc: stable@vger.kernel.org # 3.9+ Reported-by: Stefan Pietsch Tested-by: Stefan Pietsch Signed-off-by: Gleb Natapov Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed