From: Nadav Amit Date: Mon, 2 Jun 2014 15:34:09 +0000 (+0300) Subject: KVM: x86: rdpmc emulation checks the counter incorrectly X-Git-Tag: omap-for-v3.17/fixes-against-rc2~184^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67f4d4288c353734d29c45f6725971c71af96791;p=pandora-kernel.git KVM: x86: rdpmc emulation checks the counter incorrectly The rdpmc emulation checks that the counter (ECX) is not higher than 2, without taking into considerations bits 30:31 role (e.g., bit 30 marks whether the counter is fixed). The fix uses the pmu information for checking the validity of the pmu counter. Signed-off-by: Nadav Amit Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed