KVM: Add generic RDPMC support
authorAvi Kivity <avi@redhat.com>
Thu, 10 Nov 2011 12:57:23 +0000 (14:57 +0200)
committerAvi Kivity <avi@redhat.com>
Tue, 27 Dec 2011 09:24:35 +0000 (11:24 +0200)
commit022cd0e84020eec8b589bc119699c935c7b29584
tree255dbe0fd7fdfb00bd23b23000d69a1a7d8144bf
parentf5132b01386b5a67f1ff673bb2b96a507a3f7e41
KVM: Add generic RDPMC support

Add a helper function that emulates the RDPMC instruction operation.

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