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)
commit55dd00a73a518281bc846dc5de1a718349431eb2
tree13c912f125578744049bf28902e26e5e30b57b66
parent6342c50ad12e8ce0736e722184a7dbdea4a3477f
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