From: Andreas Herrmann Date: Tue, 27 Apr 2010 10:13:48 +0000 (+0200) Subject: x86, amd: Check X86_FEATURE_OSVW bit before accessing OSVW MSRs X-Git-Tag: v2.6.34~12^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f01487119dda3d9f58c9729c7361ecc50a61c188;p=pandora-kernel.git x86, amd: Check X86_FEATURE_OSVW bit before accessing OSVW MSRs If host CPU is exposed to a guest the OSVW MSRs are not guaranteed to be present and a GP fault occurs. Thus checking the feature flag is essential. Cc: # .32.x .33.x Signed-off-by: Andreas Herrmann LKML-Reference: <20100427101348.GC4489@alberich.amd.com> Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed