aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorGlauber Costa <glommer@redhat.com>2010-05-11 12:17:41 -0400
committerAvi Kivity <avi@redhat.com>2010-05-19 04:41:01 -0400
commit11c6bffa42b85e703c21a1d2372dce7262daca8e (patch)
tree54524f3693895ccfa95b3e28a75cd2c4bb55969b /arch/x86/include
parent489fb490dbf8dab0249ad82b56688ae3842a79e8 (diff)
KVM: x86: change msr numbers for kvmclock
Avi pointed out a while ago that those MSRs falls into the pentium PMU range. So the idea here is to add new ones, and after a while, deprecate the old ones. Signed-off-by: Glauber Costa <glommer@redhat.com> Acked-by: Zachary Amsden <zamsden@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/kvm_para.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_para.h b/arch/x86/include/asm/kvm_para.h
index ffae1420e7d7..97348082782a 100644
--- a/arch/x86/include/asm/kvm_para.h
+++ b/arch/x86/include/asm/kvm_para.h
@@ -20,6 +20,10 @@
20#define MSR_KVM_WALL_CLOCK 0x11 20#define MSR_KVM_WALL_CLOCK 0x11
21#define MSR_KVM_SYSTEM_TIME 0x12 21#define MSR_KVM_SYSTEM_TIME 0x12
22 22
23/* Custom MSRs falls in the range 0x4b564d00-0x4b564dff */
24#define MSR_KVM_WALL_CLOCK_NEW 0x4b564d00
25#define MSR_KVM_SYSTEM_TIME_NEW 0x4b564d01
26
23#define KVM_MAX_MMU_OP_BATCH 32 27#define KVM_MAX_MMU_OP_BATCH 32
24 28
25/* Operations for KVM_HC_MMU_OP */ 29/* Operations for KVM_HC_MMU_OP */