From: Nadav Amit Date: Thu, 24 Jul 2014 12:06:56 +0000 (+0300) Subject: KVM: x86: Assertions to check no overrun in MSR lists X-Git-Tag: omap-for-v3.17/fixes-against-rc2~184^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0123be429fef40f067e5b1811576c3994229f59e;p=pandora-kernel.git KVM: x86: Assertions to check no overrun in MSR lists Currently there is no check whether shared MSRs list overrun the allocated size which can results in bugs. In addition there is no check that vmx->guest_msrs has sufficient space to accommodate all the VMX msrs. This patch adds the assertions. Signed-off-by: Nadav Amit Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed