aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2012-11-27 20:28:58 -0500
committerMarcelo Tosatti <mtosatti@redhat.com>2012-11-27 20:29:11 -0500
commit886b470cb14733a0286e365c77f1844c240c33a4 (patch)
treea62f7af3ef4df07d7c1f9f949f0fc2007178ba0e /arch/x86/include/asm
parent51c19b4f5927f5a646e93d69f73c7e89ea14e737 (diff)
KVM: x86: pass host_tsc to read_l1_tsc
Allow the caller to pass host tsc value to kvm_x86_ops->read_l1_tsc(). Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r--arch/x86/include/asm/kvm_host.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index b2e11f452435..d60535adec98 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -700,7 +700,7 @@ struct kvm_x86_ops {
700 void (*write_tsc_offset)(struct kvm_vcpu *vcpu, u64 offset); 700 void (*write_tsc_offset)(struct kvm_vcpu *vcpu, u64 offset);
701 701
702 u64 (*compute_tsc_offset)(struct kvm_vcpu *vcpu, u64 target_tsc); 702 u64 (*compute_tsc_offset)(struct kvm_vcpu *vcpu, u64 target_tsc);
703 u64 (*read_l1_tsc)(struct kvm_vcpu *vcpu); 703 u64 (*read_l1_tsc)(struct kvm_vcpu *vcpu, u64 host_tsc);
704 704
705 void (*get_exit_info)(struct kvm_vcpu *vcpu, u64 *info1, u64 *info2); 705 void (*get_exit_info)(struct kvm_vcpu *vcpu, u64 *info1, u64 *info2);
706 706