From: Nadav Amit Date: Thu, 18 Sep 2014 19:39:44 +0000 (+0300) Subject: KVM: vmx: Inject #GP on invalid PAT CR X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=418b97fee96c77e7de226f40f3341bba987206a7;p=pandora-kernel.git KVM: vmx: Inject #GP on invalid PAT CR commit 4566654bb9be9e8864df417bb72ceee5136b6a6a upstream. Guest which sets the PAT CR to invalid value should get a #GP. Currently, if vmx supports loading PAT CR during entry, then the value is not checked. This patch makes the required check in that case. Signed-off-by: Nadav Amit Signed-off-by: Paolo Bonzini Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed