summary refs log tree commit diff
path: root/security
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-09-16 18:15:32 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2021-10-01 03:44:47 -0400
commit6b6fcd2804a2dcc86068859188708ee57c7ca19f (patch)
tree3509f0ac652d0f4f907674620e3d0505fcebde05 /security
parent3e44dce4d0aeb3582b87c7bb8a79d69fa406eee5 (diff)
downloadlinux-6b6fcd2804a2dcc86068859188708ee57c7ca19f.tar.gz
kvm: x86: abstract locking around pvclock_update_vm_gtod_copy
Updates to the kvmclock parameters needs to do a complicated dance of
KVM_REQ_MCLOCK_INPROGRESS and KVM_REQ_CLOCK_UPDATE in addition to taking
pvclock_gtod_sync_lock.  Place that in two functions that can be called
on all of master clock update, KVM_SET_CLOCK, and Hyper-V reenlightenment.

Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions