diff mbox

[v1,3/5] lib/x86: Added Hyper-V SynIC timers MSR's values

Message ID 1448555397-29150-4-git-send-email-asmetanin@virtuozzo.com (mailing list archive)
State New, archived
Headers show

Commit Message

Andrey Smetanin Nov. 26, 2015, 4:29 p.m. UTC
Signed-off-by: Andrey Smetanin <asmetanin@virtuozzo.com>
Reviewed-by: Roman Kagan <rkagan@virtuozzo.com>
CC: Paolo Bonzini <pbonzini@redhat.com>
CC: Marcelo Tosatti <mtosatti@redhat.com>
CC: Roman Kagan <rkagan@virtuozzo.com>
CC: Denis V. Lunev <den@openvz.org>
CC: qemu-devel@nongnu.org

---
 lib/x86/msr.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)
diff mbox

Patch

diff --git a/lib/x86/msr.h b/lib/x86/msr.h
index 4ac9c71..d3f4198 100644
--- a/lib/x86/msr.h
+++ b/lib/x86/msr.h
@@ -437,4 +437,17 @@ 
 #define HV_X64_MSR_SINT14                       0x4000009E
 #define HV_X64_MSR_SINT15                       0x4000009F
 
+/*
+ * Synthetic Timer MSRs. Four timers per vcpu.
+ */
+
+#define HV_X64_MSR_STIMER0_CONFIG               0x400000B0
+#define HV_X64_MSR_STIMER0_COUNT                0x400000B1
+#define HV_X64_MSR_STIMER1_CONFIG               0x400000B2
+#define HV_X64_MSR_STIMER1_COUNT                0x400000B3
+#define HV_X64_MSR_STIMER2_CONFIG               0x400000B4
+#define HV_X64_MSR_STIMER2_COUNT                0x400000B5
+#define HV_X64_MSR_STIMER3_CONFIG               0x400000B6
+#define HV_X64_MSR_STIMER3_COUNT                0x400000B7
+
 #endif /* _ASM_X86_MSR_INDEX_H */