diff options
author | Glauber Costa <glommer@redhat.com> | 2010-05-11 20:17:41 +0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-19 12:41:01 +0400 |
commit | 11c6bffa42b85e703c21a1d2372dce7262daca8e (patch) | |
tree | 54524f3693895ccfa95b3e28a75cd2c4bb55969b /arch/x86/include/asm/kvm_para.h | |
parent | 489fb490dbf8dab0249ad82b56688ae3842a79e8 (diff) | |
download | linux-11c6bffa42b85e703c21a1d2372dce7262daca8e.tar.xz |
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/asm/kvm_para.h')
-rw-r--r-- | arch/x86/include/asm/kvm_para.h | 4 |
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 @@ #define MSR_KVM_WALL_CLOCK 0x11 #define MSR_KVM_SYSTEM_TIME 0x12 +/* Custom MSRs falls in the range 0x4b564d00-0x4b564dff */ +#define MSR_KVM_WALL_CLOCK_NEW 0x4b564d00 +#define MSR_KVM_SYSTEM_TIME_NEW 0x4b564d01 + #define KVM_MAX_MMU_OP_BATCH 32 /* Operations for KVM_HC_MMU_OP */ |