Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are a raw update to a vanilla kernel 4.1.10, with the
[kvmfornfv.git]
/
kernel
/
arch
/
x86
/
kvm
/
x86.c
diff --git
a/kernel/arch/x86/kvm/x86.c
b/kernel/arch/x86/kvm/x86.c
index
6cceb2c
..
37d79a0
100644
(file)
--- a/
kernel/arch/x86/kvm/x86.c
+++ b/
kernel/arch/x86/kvm/x86.c
@@
-2192,7
+2192,7
@@
int kvm_set_msr_common(struct kvm_vcpu *vcpu, struct msr_data *msr_info)
if (guest_cpuid_has_tsc_adjust(vcpu)) {
if (!msr_info->host_initiated) {
s64 adj = data - vcpu->arch.ia32_tsc_adjust_msr;
if (guest_cpuid_has_tsc_adjust(vcpu)) {
if (!msr_info->host_initiated) {
s64 adj = data - vcpu->arch.ia32_tsc_adjust_msr;
-
kvm_x86_ops->adjust_tsc_offset(vcpu, adj, true
);
+
adjust_tsc_offset_guest(vcpu, adj
);
}
vcpu->arch.ia32_tsc_adjust_msr = data;
}
}
vcpu->arch.ia32_tsc_adjust_msr = data;
}