]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: add KVM_HC_CLOCK_PAIRING hypercall
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 24 Jan 2017 17:09:39 +0000 (15:09 -0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 7 Feb 2017 17:16:45 +0000 (18:16 +0100)
commita0d46a7ba99e5afdd6cf6d848361e2ba877d1a15
tree13c912f125578744049bf28902e26e5e30b57b66
parent47796de0052d4e23a470c303ec28cfe4aad99b05
KVM: x86: add KVM_HC_CLOCK_PAIRING hypercall

Add a hypercall to retrieve the host realtime clock and the TSC value
used to calculate that clock read.

Used to implement clock synchronization between host and guest.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Documentation/virtual/kvm/hypercalls.txt
arch/x86/include/uapi/asm/kvm_para.h
arch/x86/kvm/x86.c
include/uapi/linux/kvm_para.h