Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271493
b: refs/heads/master
c: 45133ec
h: refs/heads/master
i:
  271491: 8d177f5
v: v3
  • Loading branch information
Nadav Har'El authored and Avi Kivity committed Sep 25, 2011
1 parent 3cef354 commit 260d0e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 27fc51b21cea3386a6672699631975d1097f9d39
refs/heads/master: 45133ecaaec7aea447afc98cc2c24aac638bbe5c
4 changes: 1 addition & 3 deletions trunk/arch/x86/kvm/svm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2923,9 +2923,7 @@ static int svm_get_msr(struct kvm_vcpu *vcpu, unsigned ecx, u64 *data)

switch (ecx) {
case MSR_IA32_TSC: {
struct vmcb *vmcb = get_host_vmcb(svm);

*data = vmcb->control.tsc_offset +
*data = svm->vmcb->control.tsc_offset +
svm_scale_tsc(vcpu, native_read_tsc());

break;
Expand Down

0 comments on commit 260d0e0

Please sign in to comment.