KVM: x86 emulator: fix RDPMC privilege check
authorAvi Kivity <avi@redhat.com>
Thu, 10 Nov 2011 12:57:29 +0000 (14:57 +0200)
committerAvi Kivity <avi@redhat.com>
Tue, 27 Dec 2011 09:24:41 +0000 (11:24 +0200)
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>

No differences found