KVM: x86 emulator: correctly mask pmc index bits in RDPMC instruction emulation
authorGleb Natapov <gleb@redhat.com>
Wed, 9 May 2012 13:10:41 +0000 (16:10 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 May 2012 16:32:20 +0000 (09:32 -0700)
commitc1cca0b1b79ba339d040793ad70fad254e1af220
tree8e2c4266a88879e7a8c17825f85f5e87da92eb3b
parent6429d8675607e080deb716830f97ee0e78c991df
KVM: x86 emulator: correctly mask pmc index bits in RDPMC instruction emulation

(cherry picked from commit 270c6c79f4e15e599f47174ecedad932463af7a2)

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/pmu.c