From: Gleb Natapov Date: Thu, 10 Nov 2011 12:57:22 +0000 (+0200) Subject: KVM: Expose a version 2 architectural PMU to a guests X-Git-Tag: v3.3-rc1~131^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5132b01386b5a67f1ff673bb2b96a507a3f7e41;p=pandora-kernel.git KVM: Expose a version 2 architectural PMU to a guests Use perf_events to emulate an architectural PMU, version 2. Based on PMU version 1 emulation by Avi Kivity. [avi: adjust for cpuid.c] [jan: fix anonymous field initialization for older gcc] Signed-off-by: Gleb Natapov Signed-off-by: Jan Kiszka Signed-off-by: Avi Kivity --- Reading git-diff-tree failed