commit | 80bdec64c05b645708b0dd97919783ad077fcdc8 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Thu Nov 10 14:57:29 2011 +0200 |
committer | Avi Kivity <avi@redhat.com> | Tue Dec 27 11:24:41 2011 +0200 |
tree | 549b2084fe5b53b234c0638b1086ff04c08934b6 | |
parent | a6c06ed1a60aff77b27ba558c315c3fed4e35565 [diff] |
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>