projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e03b644
)
KVM: Add constant to represent KVM MSRs enabled bit in guest/host interface
author
Glauber Costa
<
[email protected]
>
Mon, 11 Jul 2011 19:28:12 +0000
(15:28 -0400)
committer
Avi Kivity
<
[email protected]
>
Tue, 12 Jul 2011 10:17:02 +0000
(13:17 +0300)
This patch is simple, put in a different commit so it can be more easily
shared between guest and hypervisor. It just defines a named constant
to indicate the enable bit for KVM-specific MSRs.
Signed-off-by: Glauber Costa <
[email protected]
>
Acked-by: Rik van Riel <
[email protected]
>
Tested-by: Eric B Munson <
[email protected]
>
CC: Jeremy Fitzhardinge <
[email protected]
>
CC: Peter Zijlstra <
[email protected]
>
CC: Anthony Liguori <
[email protected]
>
Signed-off-by: Avi Kivity <
[email protected]
>
arch/x86/include/asm/kvm_para.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/kvm_para.h
b/arch/x86/include/asm/kvm_para.h
index a427bf77a93d8cf0d6892e04d9b32cd886f53c82..d6cd79b34aab72555996ba70eca0e2689f85c26b 100644
(file)
--- a/
arch/x86/include/asm/kvm_para.h
+++ b/
arch/x86/include/asm/kvm_para.h
@@
-30,6
+30,7
@@
#define MSR_KVM_WALL_CLOCK 0x11
#define MSR_KVM_SYSTEM_TIME 0x12
+#define KVM_MSR_ENABLED 1
/* Custom MSRs falls in the range 0x4b564d00-0x4b564dff */
#define MSR_KVM_WALL_CLOCK_NEW 0x4b564d00
#define MSR_KVM_SYSTEM_TIME_NEW 0x4b564d01