projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaa4851
)
KVM: Don't save/restore MSR_IA32_PERF_STATUS
author
Avi Kivity
<avi@redhat.com>
Wed, 1 Sep 2010 07:23:35 +0000
(10:23 +0300)
committer
Avi Kivity
<avi@redhat.com>
Sun, 24 Oct 2010 08:51:51 +0000
(10:51 +0200)
It is read/only; restoring it only results in annoying messages.
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 d0ba857cd7cf1a3d8541888dc36e46e0917cc605..1c972382e5d43435b4417abefc1fb4e3c1524756 100644
(file)
--- a/
arch/x86/kvm/x86.c
+++ b/
arch/x86/kvm/x86.c
@@
-739,7
+739,7
@@
static u32 msrs_to_save[] = {
#ifdef CONFIG_X86_64
MSR_CSTAR, MSR_KERNEL_GS_BASE, MSR_SYSCALL_MASK, MSR_LSTAR,
#endif
- MSR_IA32_TSC, MSR_IA32_
PERF_STATUS, MSR_IA32_
CR_PAT, MSR_VM_HSAVE_PA
+ MSR_IA32_TSC, MSR_IA32_CR_PAT, MSR_VM_HSAVE_PA
};
static unsigned num_msrs_to_save;