[PATCH 0/2] KVM: x86: abstract locking around pvclock_update_vm_gtod_copy

From: Paolo Bonzini
Date: Wed Aug 11 2021 - 06:24:05 EST


Two cleanup patches that factor out the handling of
KVM_REQ_MASTERCLOCK_UPDATE and KVM_REQ_MCLOCK_INPROGRESS. I have another
patch actually to remove KVM_REQ_MCLOCK_INPROGRESS, but I don't have time
to finish testing it right now; so here are only the cleanups leading
to it.

Paolo Bonzini (2):
KVM: KVM-on-hyperv: shorten no-entry section on reenlightenment
kvm: x86: abstract locking around pvclock_update_vm_gtod_copy

arch/x86/include/asm/kvm_host.h | 1 -
arch/x86/kvm/x86.c | 67 +++++++++++++--------------------
2 files changed, 27 insertions(+), 41 deletions(-)

--
2.27.0