KVM: PMU emulation: GLOBAL_CTRL MSR should be enabled on reset
authorGleb Natapov <gleb@redhat.com>
Mon, 9 Apr 2012 14:38:35 +0000 (17:38 +0300)
committerAvi Kivity <avi@redhat.com>
Tue, 10 Apr 2012 12:34:10 +0000 (15:34 +0300)
commitf19a0c2c2e6add90b7d6a1b7595abebfe2e4c37a
tree49ea51483d70cd6cad04729374a1512aebbec692
parent0034102808e0dbbf3a2394b82b1bb40b5778de9e
KVM: PMU emulation: GLOBAL_CTRL MSR should be enabled on reset

On reset all MPU counters should be enabled in GLOBAL_CTRL MSR.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/pmu.c