projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74dc2b4
)
KVM: Expose RDWRGSFS bit to KVM guests
author
Yang, Wei
<wei.y.yang@intel.com>
Tue, 14 Jun 2011 12:10:19 +0000
(20:10 +0800)
committer
Avi Kivity
<avi@redhat.com>
Tue, 12 Jul 2011 10:16:24 +0000
(13:16 +0300)
This patch exposes RDWRGSFS bit to KVM guests.
Signed-off-by: Yang, Wei <wei.y.yang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/x86.c
b/arch/x86/kvm/x86.c
index 423e0cda8e917febf988c806088db799b1133f0c..76c16a5c6c566c1ef5ed3decafc9c1251bce69f1 100644
(file)
--- a/
arch/x86/kvm/x86.c
+++ b/
arch/x86/kvm/x86.c
@@
-2372,7
+2372,7
@@
static void do_cpuid_ent(struct kvm_cpuid_entry2 *entry, u32 function,
/* cpuid 7.0.ebx */
const u32 kvm_supported_word9_x86_features =
- F(SMEP);
+ F(SMEP)
| F(FSGSBASE)
;
/* all calls to cpuid_count() should be made on the same cpu */
get_cpu();