diff options
author | 2011-11-10 14:57:29 +0200 | |
---|---|---|
committer | 2011-12-27 11:24:41 +0200 | |
commit | 80bdec64c05b645708b0dd97919783ad077fcdc8 (patch) | |
tree | 549b2084fe5b53b234c0638b1086ff04c08934b6 /mm/page_alloc.c | |
parent | KVM: Expose the architectural performance monitoring CPUID leaf (diff) | |
download | linux-dev-80bdec64c05b645708b0dd97919783ad077fcdc8.tar.xz linux-dev-80bdec64c05b645708b0dd97919783ad077fcdc8.zip |
KVM: x86 emulator: fix RDPMC privilege check
RDPMC is only privileged if CR4.PCE=0. check_rdpmc() already implements this,
so all we need to do is drop the Priv flag.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions