diff options
| author | Vadim Rozenfeld | 2014-01-23 14:40:49 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2014-02-03 17:33:55 +0100 |
| commit | 48a5f3bcbbbe59a3120a39106bfda59fd1933fbc (patch) | |
| tree | 1222d9e56f1a71389072a8c525e49b161917b4c7 /linux-headers/asm-x86 | |
| parent | kvm: make hyperv vapic assist page migratable (diff) | |
| download | qemu-48a5f3bcbbbe59a3120a39106bfda59fd1933fbc.tar.gz qemu-48a5f3bcbbbe59a3120a39106bfda59fd1933fbc.tar.xz qemu-48a5f3bcbbbe59a3120a39106bfda59fd1933fbc.zip | |
kvm: add support for hyper-v timers
http://msdn.microsoft.com/en-us/library/windows/hardware/ff541625%28v=vs.85%29.aspx
This code is generic for activating reference time counter or virtual reference time stamp counter
Signed-off-by: Vadim Rozenfeld <vrozenfe@redhat.com>
Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-headers/asm-x86')
| -rw-r--r-- | linux-headers/asm-x86/hyperv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-headers/asm-x86/hyperv.h b/linux-headers/asm-x86/hyperv.h index b8f1c0176c..3b400ee9f7 100644 --- a/linux-headers/asm-x86/hyperv.h +++ b/linux-headers/asm-x86/hyperv.h @@ -149,6 +149,9 @@ /* MSR used to read the per-partition time reference counter */ #define HV_X64_MSR_TIME_REF_COUNT 0x40000020 +/* A partition's reference time stamp counter (TSC) page */ +#define HV_X64_MSR_REFERENCE_TSC 0x40000021 + /* MSR used to retrieve the TSC frequency */ #define HV_X64_MSR_TSC_FREQUENCY 0x40000022 |
